summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2008-02-06 09:05:47 -0500
committerRob Crittenden <rcritten@redhat.com>2008-02-06 09:05:47 -0500
commitef5b4391debe6b053ea8bea60b0caa7721a09122 (patch)
tree029a2c7fafd52ad622131e3d9a323d613849ea94
parent6935d94c14e1c3a21fd214ec3445fb89d31e592d (diff)
downloadfreeipa-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-install4
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)