aboutsummaryrefslogtreecommitdiffstats
path: root/erts/etc/ose
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2014-01-08 16:42:12 +0100
committerLukas Larsson <[email protected]>2014-02-24 15:16:04 +0100
commitae561e41e5578b373311556c9f9e619f277f825b (patch)
tree731b5c18edf6606b54adc5c0aa6375c58b10fd13 /erts/etc/ose
parent5c299e355e05a464215e49cfd95f62b5194de609 (diff)
downloadotp-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/ose')
-rw-r--r--erts/etc/ose/run_erl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/etc/ose/run_erl.c b/erts/etc/ose/run_erl.c
index c1a258515c..6bb59b7f7e 100644
--- a/erts/etc/ose/run_erl.c
+++ b/erts/etc/ose/run_erl.c
@@ -351,7 +351,7 @@ int pass_on(ProgramState *s) {
time_t now,last_activity;
time(&last_activity);
- sig = receive_w_tmo(erts_run_erl_log_alive_minutes*60000,sigsel);
+ sig = receive_w_tmo(erts_run_erl_log_alive_minutes()*60000,sigsel);
time(&now);