diff --git a/priv/templates/simplenode.runner b/priv/templates/simplenode.runner index caae421..46141bb 100755 --- a/priv/templates/simplenode.runner +++ b/priv/templates/simplenode.runner @@ -66,7 +66,7 @@ case "$1" in stop) # Wait for the node to completely stop... - PID=`ps -ef|grep "$RUNNER_BASE_DIR/.*/[b]eam|awk '{print $2}'"` + PID=`ps -ef|grep "$RUNNER_BASE_DIR/.*/[b]eam"|awk '{print $2}'` $NODETOOL stop while `kill -0 $PID 2>/dev/null`; do