mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Return 1 on error, 0 on success
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user