diff options
author | Rob Crittenden <rcritten@redhat.com> | 2008-02-06 09:05:47 -0500 |
---|---|---|
committer | Rob Crittenden <rcritten@redhat.com> | 2008-02-06 09:05:47 -0500 |
commit | ef5b4391debe6b053ea8bea60b0caa7721a09122 (patch) | |
tree | 029a2c7fafd52ad622131e3d9a323d613849ea94 | |
parent | 6935d94c14e1c3a21fd214ec3445fb89d31e592d (diff) | |
download | freeipa-ef5b4391debe6b053ea8bea60b0caa7721a09122.tar.gz freeipa-ef5b4391debe6b053ea8bea60b0caa7721a09122.tar.xz freeipa-ef5b4391debe6b053ea8bea60b0caa7721a09122.zip |
Fix broken attempt to return 0 on success, 1 on failure
-rw-r--r-- | ipa-server/ipa-install/ipa-server-install | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ipa-server/ipa-install/ipa-server-install b/ipa-server/ipa-install/ipa-server-install index 71b903981..c81682fee 100644 --- a/ipa-server/ipa-install/ipa-server-install +++ b/ipa-server/ipa-install/ipa-server-install @@ -511,7 +511,7 @@ def main(): try: main() - return 0 + sys.exit(0) except Exception, e: message = "Unexpected error - see ipaserver-install.log for details:\n %s" % str(e) print message @@ -519,4 +519,4 @@ except Exception, e: for str in traceback.format_tb(sys.exc_info()[2]): message = message + "\n" + str logging.debug(message) - return 1 + sys.exit(1) |