summaryrefslogtreecommitdiffstats
path: root/gui.py
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2000-06-05 20:57:40 +0000
committerMatt Wilson <msw@redhat.com>2000-06-05 20:57:40 +0000
commit1ce726abfc951c5c5c5a7da4d500b84f2f18e19d (patch)
treeb77c118c8799b1c58192fae83218cb548675285f /gui.py
parent675bd4cff39a5bde892725df0ef58bd61dfe073a (diff)
downloadanaconda-1ce726abfc951c5c5c5a7da4d500b84f2f18e19d.tar.gz
anaconda-1ce726abfc951c5c5c5a7da4d500b84f2f18e19d.tar.xz
anaconda-1ce726abfc951c5c5c5a7da4d500b84f2f18e19d.zip
pass exit error on up
Diffstat (limited to 'gui.py')
-rwxr-xr-xgui.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/gui.py b/gui.py
index 812a3a235..231552fb3 100755
--- a/gui.py
+++ b/gui.py
@@ -174,8 +174,9 @@ class GtkMainThread (Thread):
threads_enter ()
try:
mainloop ()
- except SystemExit:
- pass
+ except SystemExit, code:
+ # pass exit on down
+ raise SystemExit, code
except:
ExceptionWindow ()
threads_leave ()
@@ -674,8 +675,8 @@ class InstallControlWindow (Thread):
threads_enter ()
try:
self.main ()
- except SystemExit:
- pass
+ except SystemExit, code:
+ raise SystemExit, code
except:
threads_leave()
mainquit()