simplenode.runner: fix HEART_CMD arguments

This commit is contained in:
Yurin Slava 2012-02-22 22:58:32 +07:00 committed by Tuncer Ayaz
parent cd1cc6dbee
commit 29d71e356c

View file

@ -74,7 +74,7 @@ case "$1" in
fi
shift # remove $1
RUN_PARAM=$(printf "\'%s\' " "$@")
HEART_COMMAND="$RUNNER_BASE_DIR/bin/$SCRIPT start"
HEART_COMMAND="$RUNNER_BASE_DIR/bin/$SCRIPT start $RUN_PARAM"
export HEART_COMMAND
mkdir -p $PIPE_DIR
$ERTS_PATH/run_erl -daemon $PIPE_DIR $RUNNER_LOG_DIR "exec $RUNNER_BASE_DIR/bin/$SCRIPT console $RUN_PARAM" 2>&1