summaryrefslogtreecommitdiffstats
path: root/src/Hooks/abrt_exception_handler.py.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/Hooks/abrt_exception_handler.py.in')
-rw-r--r--src/Hooks/abrt_exception_handler.py.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Hooks/abrt_exception_handler.py.in b/src/Hooks/abrt_exception_handler.py.in
index 33c4291b..8ac7aa23 100644
--- a/src/Hooks/abrt_exception_handler.py.in
+++ b/src/Hooks/abrt_exception_handler.py.in
@@ -203,6 +203,9 @@ def handleMyException((etype, value, tb)):
# restore original exception handler
sys.excepthook = sys.__excepthook__ # pylint: disable-msg=E1101
+ # ignore uncaught ctrl-c
+ if etype == KeyboardInterrupt:
+ return sys.__excepthook__(etype, value, tb)
import os.path
from hashlib import md5