diff options
-rw-r--r-- | lib/System/Unix/Signals.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/System/Unix/Signals.inc b/lib/System/Unix/Signals.inc index be22bd83fc..e385e0c556 100644 --- a/lib/System/Unix/Signals.inc +++ b/lib/System/Unix/Signals.inc @@ -126,7 +126,8 @@ static RETSIGTYPE SignalHandler(int Sig) { IF(); // run the interrupt function. return; } - exit(1); // If this is an interrupt signal, exit the program + raise(Sig); // Execute the default handler. + return; } // Otherwise if it is a fault (like SEGV) run any handler. |