From ef5b4391debe6b053ea8bea60b0caa7721a09122 Mon Sep 17 00:00:00 2001 From: Rob Crittenden Date: Wed, 6 Feb 2008 09:05:47 -0500 Subject: Fix broken attempt to return 0 on success, 1 on failure --- ipa-server/ipa-install/ipa-server-install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ipa-server') 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) -- cgit