From 07b1aef252b225c15d78cf3a58f3dd33bbeddb68 Mon Sep 17 00:00:00 2001 From: Rob Crittenden Date: Tue, 5 Feb 2008 13:55:06 -0500 Subject: [PATCH] Return 1 on error, 0 on success --- ipa-server/ipa-install/ipa-server-install | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ipa-server/ipa-install/ipa-server-install b/ipa-server/ipa-install/ipa-server-install index 4f5354fa8..71b903981 100644 --- a/ipa-server/ipa-install/ipa-server-install +++ b/ipa-server/ipa-install/ipa-server-install @@ -511,6 +511,7 @@ def main(): try: main() + return 0 except Exception, e: message = "Unexpected error - see ipaserver-install.log for details:\n %s" % str(e) print message @@ -518,3 +519,4 @@ except Exception, e: for str in traceback.format_tb(sys.exc_info()[2]): message = message + "\n" + str logging.debug(message) + return 1