aboutsummaryrefslogtreecommitdiffstats
path: root/erts
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2017-01-20 14:27:40 +0100
committerBjörn-Egil Dahlberg <[email protected]>2017-02-02 09:40:27 +0100
commitd3506c8dc3d355b7a62085da508b41866e431a37 (patch)
treef62796e553567d2140cfce9dd45d759720a1d4fd /erts
parent120f04387ade07ef5b8b6d20a04de7d21e0c40ca (diff)
downloadotp-d3506c8dc3d355b7a62085da508b41866e431a37.tar.gz
otp-d3506c8dc3d355b7a62085da508b41866e431a37.tar.bz2
otp-d3506c8dc3d355b7a62085da508b41866e431a37.zip
erts: Do not enable SIGINT
Diffstat (limited to 'erts')
-rw-r--r--erts/emulator/sys/unix/sys.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/erts/emulator/sys/unix/sys.c b/erts/emulator/sys/unix/sys.c
index 4175dc6a41..ce87e3c7a6 100644
--- a/erts/emulator/sys/unix/sys.c
+++ b/erts/emulator/sys/unix/sys.c
@@ -698,7 +698,7 @@ static RETSIGTYPE suspend_signal(int signum)
Signal Action Comment
─────────────────────────────────────────────────────────────
SIGHUP Term Hangup detected on controlling terminal or death of controlling process
- SIGINT Term Interrupt from keyboard
+ !SIGINT Term Interrupt from keyboard
SIGQUIT Core Quit from keyboard
SIGILL Core Illegal Instruction
SIGABRT Core Abort signal from abort(3)
@@ -724,7 +724,7 @@ signalterm_to_signum(Eterm signal)
{
switch (signal) {
case am_sighup: return SIGHUP;
- case am_sigint: return SIGINT;
+ /* case am_sigint: return SIGINT; */
case am_sigquit: return SIGQUIT;
case am_sigill: return SIGILL;
case am_sigabrt: return SIGABRT;
@@ -745,7 +745,7 @@ signum_to_signalterm(int signum)
{
switch (signum) {
case SIGHUP: return am_sighup;
- case SIGINT: return am_sigint; /* ^c */
+ /* case SIGINT: return am_sigint; */ /* ^c */
case SIGILL: return am_sigill;
case SIGABRT: return am_sigabrt;
/* case SIGSEGV: return am_sigsegv; */