aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErlang/OTP <[email protected]>2016-11-08 10:17:48 +0100
committerErlang/OTP <[email protected]>2016-11-08 10:17:48 +0100
commit946d95deaf7052da763e61ecf3c8afc7a00f8453 (patch)
treebb2c732d8a866c3253e1f7129857da0a78eecb98
parent926391fbb8761d5833b3a6f5c9e523fcda373c6d (diff)
parent500748fd912d71b6e7350b5e45a2208eb7c3bd65 (diff)
downloadotp-946d95deaf7052da763e61ecf3c8afc7a00f8453.tar.gz
otp-946d95deaf7052da763e61ecf3c8afc7a00f8453.tar.bz2
otp-946d95deaf7052da763e61ecf3c8afc7a00f8453.zip
Merge branch 'egil/19/erts/fix-crashdump-sigusr1/OTP-13997' into maint-19
* egil/19/erts/fix-crashdump-sigusr1/OTP-13997: erts: Fix SIGUSR1 crashdump generation
-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