Skip to content

Commit

Permalink
CmdlineError should exit with a 1
Browse files Browse the repository at this point in the history
Tools like livemedia-creator need to know that the exit was due to an
error so call sys.exit with a 1.

Related: rhbz#1102318

(cherry picked from commit a9b4e05)

Related: rhbz#1196721
  • Loading branch information
bcl committed Jun 2, 2015
1 parent afc029c commit 3b41657
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyanaconda/exception.py
Expand Up @@ -145,7 +145,7 @@ def handleException(self, dump_info):
# for a few seconds before exiting the installer
print(cmdline_error_msg)
time.sleep(10)
sys.exit(0)
sys.exit(1)
else:
print("\nAn unknown error has occured, look at the "
"/tmp/anaconda-tb* file(s) for more details")
Expand Down

0 comments on commit 3b41657

Please sign in to comment.