summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/hooks/abrt_exception_handler.py.in6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/hooks/abrt_exception_handler.py.in b/src/hooks/abrt_exception_handler.py.in
index dd6fbaed..6081d639 100644
--- a/src/hooks/abrt_exception_handler.py.in
+++ b/src/hooks/abrt_exception_handler.py.in
@@ -61,8 +61,10 @@ def handleMyException((etype, value, tb)):
# restore original exception handler
sys.excepthook = sys.__excepthook__ # pylint: disable-msg=E1101
- # ignore uncaught ctrl-c
- if etype == KeyboardInterrupt:
+ # ignore
+ # - uncaught ctrl-c
+ # - SystemExit rhbz#636913 -> this exception is not an error
+ if etype in [KeyboardInterrupt, SystemExit]:
return sys.__excepthook__(etype, value, tb)
try: