One important note - exit code 1 is still error so your PR:
https://github.com/snapcore/snapd/pull/2292

does not address root cause.

It will allow for another way to detect "snap already installed" failure (using 
exit code rather than string) but calls like this will still cause traceback:
subprocess.check_call(["snap", "insatll", "snapname"])

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

Title:
  'snap install' return code unhelpful

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

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

Reply via email to