aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2016-10-31 15:20:07 +0100
committerBjörn-Egil Dahlberg <[email protected]>2016-11-01 15:14:28 +0100
commit500748fd912d71b6e7350b5e45a2208eb7c3bd65 (patch)
treebb2c732d8a866c3253e1f7129857da0a78eecb98 /erts/emulator
parent926391fbb8761d5833b3a6f5c9e523fcda373c6d (diff)
downloadotp-500748fd912d71b6e7350b5e45a2208eb7c3bd65.tar.gz
otp-500748fd912d71b6e7350b5e45a2208eb7c3bd65.tar.bz2
otp-500748fd912d71b6e7350b5e45a2208eb7c3bd65.zip
erts: Fix SIGUSR1 crashdump generation
Do not generate a core when a crashdump is asked for. Regression introduced in 56090db3ea417157a749bdd810fc61d117493f1f
Diffstat (limited to 'erts/emulator')
-rw-r--r--erts/emulator/sys/unix/sys.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/sys/unix/sys.c b/erts/emulator/sys/unix/sys.c
index 089efec3e8..ba22a100c2 100644
--- a/erts/emulator/sys/unix/sys.c
+++ b/erts/emulator/sys/unix/sys.c
@@ -672,7 +672,7 @@ sigusr1_exit(void)
}
prepare_crash_dump(secs);
- erts_exit(ERTS_ERROR_EXIT, "Received SIGUSR1\n");
+ erts_exit(ERTS_DUMP_EXIT, "Received SIGUSR1\n");
}
#ifdef ETHR_UNUSABLE_SIGUSRX