]> www.infradead.org Git - users/dhowells/kafs-utils.git/commit
Handle exit codes better
authorDavid Howells <dhowells@redhat.com>
Tue, 13 May 2014 16:28:11 +0000 (17:28 +0100)
committerDavid Howells <dhowells@redhat.com>
Tue, 13 May 2014 16:37:01 +0000 (17:37 +0100)
commitfc612770826142194213a74d26e99456296a033c
tree3f146e7203600c5985be90e4135ff5ec2cde2b95
parent50179b0bb70bbfcb9b56eba698d984c198d9e73b
Handle exit codes better

Returning the intended exit code from the main try block that invokes the
subcommand handler rather than trying to exit within the exception handling
seems to work better and actually return the error code.

Signed-off-by: David Howells <dhowells@redhat.com>
suite/main.py