Allow for non-SMP emulator

This commit is contained in:
Alexey Romanov 2010-12-07 12:17:47 +03:00
parent 0bb429c197
commit 62bfad57a5

View file

@ -66,7 +66,7 @@ case "$1" in
stop) stop)
# Wait for the node to completely stop... # Wait for the node to completely stop...
PID=`ps -ef|grep "$RUNNER_BASE_DIR/.*/[b]eam.smp|awk '{print $2}'"` PID=`ps -ef|grep "$RUNNER_BASE_DIR/.*/[b]eam|awk '{print $2}'"`
$NODETOOL stop $NODETOOL stop
while `kill -0 $PID 2>/dev/null`; while `kill -0 $PID 2>/dev/null`;
do do