[buildd-tools-devel] Bug#545706: Bug#545706: 'schroot' exits with code 0 on 'permission denied' failures

Roger Leigh rleigh at codelibre.net
Thu Sep 10 16:33:31 UTC 2009


On Tue, Sep 08, 2009 at 11:20:08AM -0400, Nelson Elhage wrote:
> Running schroot commands on a chroot that the current user does not
> have permission to access results in schroot failing, but exiting with
> a code of 0. This is annoying, as it means that scripts that use
> schroot with a user-provided chroot name cannot easily determine
> whether operations succeeded.

It should definitely be exiting with a nonzero exit status in
this case.  I'll verify that it is indeed returning zero, and
make sure it returns a nonzero status.

Thanks for letting me know,
Roger

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux             http://people.debian.org/~rleigh/
 `. `'   Printing on GNU/Linux?       http://gutenprint.sourceforge.net/
   `-    GPG Public Key: 0x25BFB848   Please GPG sign your mail.





More information about the Buildd-tools-devel mailing list