If sys.exit is called or SystemExit raised, don't display success
authorRob Crittenden <rcritten@redhat.com>
Thu, 9 Apr 2015 23:20:25 +0000 (19:20 -0400)
committerPatrick Uiterwijk <puiterwijk@redhat.com>
Thu, 9 Apr 2015 23:44:00 +0000 (01:44 +0200)
commit2221f5b909d2fd3f8ba935dc5336392ece395416
tree24094c05dfb478c4e8bd1869079411e51cf6b2d3
parent38d9a4c974d7d5b58edefd4857492648a6102d38
If sys.exit is called or SystemExit raised, don't display success

If sys.exit is called, which raises SystemExit, the finally at the
end of the installer was treating it as a successful install and
displaying messages to the user. Catch this exception and mark
the install as failed to prevent this.

https://fedorahosted.org/ipsilon/ticket/66

Signed-off-by: Rob Crittenden <rcritten@redhat.com>
Reviewed-by: Patrick Uiterwijk <puiterwijk@redhat.com>
ipsilon/install/ipsilon-server-install