summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/portage/exception.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/pym/portage/exception.py b/pym/portage/exception.py
index ae655542a..bfb90cc16 100644
--- a/pym/portage/exception.py
+++ b/pym/portage/exception.py
@@ -102,6 +102,7 @@ class AlarmSignal(TimeoutException):
@classmethod
def _signal_handler(cls, signum, frame):
+ signal.signal(signal.SIGALRM, signal.SIG_DFL)
raise AlarmSignal("alarm signal",
signum=signum, frame=frame)