We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b07e6ae commit a541c79Copy full SHA for a541c79
1 file changed
priv/base/runner
@@ -306,9 +306,9 @@ case "$1" in
306
echo "Remote Shell: Use \"Ctrl-G q\" to quit."
307
echo "q() or init:stop() will terminate the $SCRIPT node."
308
shift
309
- RAND=$(($(($RANDOM % 1000)) + 1))
+ RAND=$(($(($$ % 1000)) + 1))
310
NODE_NAME=${NAME_ARG#* }
311
- exec $ERTS_PATH/erl -name c_$RAND_$NODE_NAME -hidden -remsh $NODE_NAME $COOKIE_ARG $NET_TICKTIME_ARG
+ exec $ERTS_PATH/erl -name c$RAND$NODE_NAME -hidden -remsh $NODE_NAME $COOKIE_ARG $NET_TICKTIME_ARG
312
;;
313
314
console)
@@ -363,7 +363,7 @@ case "$1" in
363
node_up_check
364
365
366
367
368
$ERTS_PATH/erl -noshell -noinput \
369
-pa $RUNNER_PATCH_DIR \
0 commit comments