Browse Source

Fix bashism

pull/3/head
Tuncer Ayaz 14 years ago
parent
commit
9f5d35991f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      priv/templates/simplenode.runner

+ 1
- 1
priv/templates/simplenode.runner View File

@ -52,7 +52,7 @@ case "$1" in
start) start)
# Make sure there is not already a node running # Make sure there is not already a node running
RES=`$NODETOOL ping` RES=`$NODETOOL ping`
if [ "$RES" == "pong" ]; then
if [ "$RES" = "pong" ]; then
echo "Node is already running!" echo "Node is already running!"
exit 1 exit 1
fi fi

Loading…
Cancel
Save