diff options
author | Lukas Larsson <[email protected]> | 2014-01-08 16:42:12 +0100 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2014-02-24 15:16:04 +0100 |
commit | ae561e41e5578b373311556c9f9e619f277f825b (patch) | |
tree | 731b5c18edf6606b54adc5c0aa6375c58b10fd13 /erts/etc/unix/run_erl.c | |
parent | 5c299e355e05a464215e49cfd95f62b5194de609 (diff) | |
download | otp-ae561e41e5578b373311556c9f9e619f277f825b.tar.gz otp-ae561e41e5578b373311556c9f9e619f277f825b.tar.bz2 otp-ae561e41e5578b373311556c9f9e619f277f825b.zip |
ose: Refactor global variables to ppdata
This is needed because when starting multiple processes
from the same shell command they will see the same
global data if using status variables.
Diffstat (limited to 'erts/etc/unix/run_erl.c')
-rw-r--r-- | erts/etc/unix/run_erl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/etc/unix/run_erl.c b/erts/etc/unix/run_erl.c index b3f0591b07..a6fc4c2bf5 100644 --- a/erts/etc/unix/run_erl.c +++ b/erts/etc/unix/run_erl.c @@ -328,7 +328,7 @@ static void pass_on(pid_t childpid) } time(&last_activity); /* don't assume old BSD bug */ - timeout.tv_sec = erts_run_erl_log_alive_minutes*60; + timeout.tv_sec = erts_run_erl_log_alive_minutes()*60; timeout.tv_usec = 0; ready = select(maxfd + 1, &readfds, writefds_ptr, NULL, &timeout); if (ready < 0) { |