aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_init.c
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2016-02-23 11:24:12 +0100
committerBjörn-Egil Dahlberg <[email protected]>2016-08-31 14:36:58 +0200
commitc46ba734b6787e254b45b35ea135fc2da23190bb (patch)
treec4effd213b8e5f7b42741f6c26b4dd17f080d2ee /erts/emulator/beam/erl_init.c
parent5cf780148575f1ea4c460d7c9783831e6fbce9ff (diff)
downloadotp-c46ba734b6787e254b45b35ea135fc2da23190bb.tar.gz
otp-c46ba734b6787e254b45b35ea135fc2da23190bb.tar.bz2
otp-c46ba734b6787e254b45b35ea135fc2da23190bb.zip
erts: Fix install of suspend handler
This commit makes sure to setup the suspend handler to matter what +B option is given at the command line.
Diffstat (limited to 'erts/emulator/beam/erl_init.c')
-rw-r--r--erts/emulator/beam/erl_init.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/erts/emulator/beam/erl_init.c b/erts/emulator/beam/erl_init.c
index e729574ec7..1718b23688 100644
--- a/erts/emulator/beam/erl_init.c
+++ b/erts/emulator/beam/erl_init.c
@@ -2134,6 +2134,7 @@ erl_start(int argc, char **argv)
init_break_handler();
if (replace_intr)
erts_replace_intr();
+ sys_init_suspend_handler();
#endif
boot_argc = argc - i; /* Number of arguments to init */