Verified from the command line:

fgimenez@fgimenez-Standard-PC-i440FX-PIIX-1996:~$ for value in yes no 0 1 
unicorn; do
>         SNAP_CONFINE_DEBUG=$value ubuntu-core-launcher blah 2>debug.$value || 
> :
>     done
fgimenez@fgimenez-Standard-PC-i440FX-PIIX-1996:~$ cat debug.yes 
DEBUG: shifting arguments by one
Usage: ubuntu-core-launcher <security-tag> <binary>
fgimenez@fgimenez-Standard-PC-i440FX-PIIX-1996:~$ cat debug.1
DEBUG: shifting arguments by one
Usage: ubuntu-core-launcher <security-tag> <binary>
fgimenez@fgimenez-Standard-PC-i440FX-PIIX-1996:~$ cat debug.no
Usage: ubuntu-core-launcher <security-tag> <binary>
fgimenez@fgimenez-Standard-PC-i440FX-PIIX-1996:~$ cat debug.0
Usage: ubuntu-core-launcher <security-tag> <binary>
fgimenez@fgimenez-Standard-PC-i440FX-PIIX-1996:~$ cat debug.unicorn 
WARNING: unrecognized value of environment variable SNAP_CONFINE_DEBUG 
(expected yes/no or 1/0)
Usage: ubuntu-core-launcher <security-tag> <binary>. errmsg: Invalid argument


** Tags removed: verification-needed
** Tags added: verification-done

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1633276

Title:
  SNAP_CONFINE_DEBUG should not trigger on empty strings

To manage notifications about this bug go to:
https://bugs.launchpad.net/snap-confine/+bug/1633276/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to