summaryrefslogtreecommitdiffstats
path: root/ipa-server
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2008-02-11 09:41:14 -0500
committerRob Crittenden <rcritten@redhat.com>2008-02-11 09:41:14 -0500
commit5be3defccfc4f14d2b36aa1917ae9ec018a36d8e (patch)
tree2cc1485587a4c49066d3c1dde4904e055ed3c76f /ipa-server
parent5f86f5a5fdc8d24b7185c6d3059a5b5127764292 (diff)
downloadfreeipa-5be3defccfc4f14d2b36aa1917ae9ec018a36d8e.tar.gz
freeipa-5be3defccfc4f14d2b36aa1917ae9ec018a36d8e.tar.xz
freeipa-5be3defccfc4f14d2b36aa1917ae9ec018a36d8e.zip
Gracefully handle sys.exit() in python 2.4
Diffstat (limited to 'ipa-server')
-rw-r--r--ipa-server/ipa-install/ipa-server-install2
1 files changed, 2 insertions, 0 deletions
diff --git a/ipa-server/ipa-install/ipa-server-install b/ipa-server/ipa-install/ipa-server-install
index c81682fee..203e07bff 100644
--- a/ipa-server/ipa-install/ipa-server-install
+++ b/ipa-server/ipa-install/ipa-server-install
@@ -512,6 +512,8 @@ def main():
try:
main()
sys.exit(0)
+except SystemExit, e:
+ sys.exit(e)
except Exception, e:
message = "Unexpected error - see ipaserver-install.log for details:\n %s" % str(e)
print message