aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2015-07-14 13:05:39 +0200
committerLukas Larsson <[email protected]>2015-07-14 13:05:39 +0200
commited830e036f1bb5c2f1f67224897a31d2fa544c91 (patch)
tree9c530b053cb6822f74b243873222627278c60433
parent745563e98f6993e279703dc1ad1e9a2c38dfac28 (diff)
downloadotp-ed830e036f1bb5c2f1f67224897a31d2fa544c91.tar.gz
otp-ed830e036f1bb5c2f1f67224897a31d2fa544c91.tar.bz2
otp-ed830e036f1bb5c2f1f67224897a31d2fa544c91.zip
erts: Don't abort when a system process is terminated
-rw-r--r--erts/emulator/beam/erl_process.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/erts/emulator/beam/erl_process.c b/erts/emulator/beam/erl_process.c
index ee1dd36d48..db37243321 100644
--- a/erts/emulator/beam/erl_process.c
+++ b/erts/emulator/beam/erl_process.c
@@ -12126,7 +12126,8 @@ erts_do_exit_process(Process* p, Eterm reason)
#endif
if (p->static_flags & ERTS_STC_FLG_SYSTEM_PROC)
- erl_exit(1, "System process %T terminated: %T\n", p->common.id, reason);
+ erl_exit(ERTS_DUMP_EXIT, "System process %T terminated: %T\n",
+ p->common.id, reason);
#ifdef ERTS_SMP
ERTS_SMP_CHK_HAVE_ONLY_MAIN_PROC_LOCK(p);