exits with zero on error

Bug #1473333 reported by Martin Pitt on 2015-07-10
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
goget-ubuntu-touch (Ubuntu)
High
Sergio Schvezov

Bug Description

$ sudo ubuntu-device-flash --verbose core --output=/tmp/snappy.img --developer-mode ; echo "exit code: $?"
the required argument `Release` was not provided
exit code: 0

This is bad for usage in scripts (like autopkgtest's "snappy" setup script), as it prevents proper error detection.

ProblemType: Bug
DistroRelease: Ubuntu 15.10
Package: ubuntu-device-flash 0.26-0ubuntu1
ProcVersionSignature: Ubuntu 4.0.0-4.6-generic 4.0.7
Uname: Linux 4.0.0-4-generic x86_64
ApportVersion: 2.17.3-0ubuntu4
Architecture: amd64
CurrentDesktop: Unity
Date: Fri Jul 10 10:31:40 2015
EcryptfsInUse: Yes
SourcePackage: goget-ubuntu-touch
UpgradeStatus: No upgrade log present (probably fresh install)

Related branches

Martin Pitt (pitti) wrote :
Leo Arias (elopio) on 2015-07-13
Changed in goget-ubuntu-touch (Ubuntu):
status: New → Confirmed
Changed in goget-ubuntu-touch (Ubuntu):
importance: Undecided → High
Changed in goget-ubuntu-touch (Ubuntu):
assignee: nobody → Sergio Schvezov (sergiusens)
status: Confirmed → Fix Committed
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package goget-ubuntu-touch - 0.33-0ubuntu2

---------------
goget-ubuntu-touch (0.33-0ubuntu2) xenial; urgency=medium

  * debian/control: Remove version Build-Depends for golang-snappy-dev.

 -- Sergio Schvezov <email address hidden> Wed, 18 Nov 2015 09:32:39 -0300

Changed in goget-ubuntu-touch (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers