client: Remove useless except in ipa-client-install

SystemExit is raised by sys.exit() so catching and reraising it again is
wasting of resources

https://fedorahosted.org/freeipa/ticket/6392

Reviewed-By: Stanislav Laznicka <slaznick@redhat.com>
This commit is contained in:
Martin Basti 2016-10-31 13:11:09 +01:00 committed by Jan Cholasta
parent 83fe6b626f
commit 1f65c07524

View File

@ -260,8 +260,6 @@ def main():
try:
if __name__ == "__main__":
sys.exit(main())
except SystemExit as e:
sys.exit(e)
except KeyboardInterrupt:
sys.exit(1)
except RuntimeError as e: