fix issue #269 - bin/emqttd Syntax error

This commit is contained in:
Feng 2015-08-27 19:58:34 +08:00
parent 35bc96807e
commit e85b837ae6
1 changed files with 1 additions and 2 deletions

View File

@ -73,8 +73,7 @@ if [ -z "$NAME_ARG" ]; then
echo "vm.args needs to have either -name or -sname parameter." echo "vm.args needs to have either -name or -sname parameter."
exit 1 exit 1
fi fi
NAME_ARR=(${NAME_ARG// / }) NODE_NAME=${NAME_ARG##* }
NODE_NAME=${NAME_ARR[1]}
# Extract the target cookie # Extract the target cookie
COOKIE_ARG=`grep '^\-setcookie' $RUNNER_ETC_DIR/vm.args` COOKIE_ARG=`grep '^\-setcookie' $RUNNER_ETC_DIR/vm.args`