diff options
author | Tuncer Ayaz <tuncer.ayaz@gmail.com> | 2010-12-02 20:13:32 +0100 |
---|---|---|
committer | Tuncer Ayaz <tuncer.ayaz@gmail.com> | 2010-12-02 20:13:32 +0100 |
commit | 9f5d35991f28c191c4f34c2d5f574864af48f294 (patch) | |
tree | 51188dce7debdc222528534dcdfa86f398f99ba6 | |
parent | 298687dd087969e63c94d283c2132bd18fab3bbd (diff) |
Fix bashism
-rwxr-xr-x | priv/templates/simplenode.runner | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/priv/templates/simplenode.runner b/priv/templates/simplenode.runner index 67b9f9e..17eb2e8 100755 --- a/priv/templates/simplenode.runner +++ b/priv/templates/simplenode.runner @@ -52,7 +52,7 @@ case "$1" in start) # Make sure there is not already a node running RES=`$NODETOOL ping` - if [ "$RES" == "pong" ]; then + if [ "$RES" = "pong" ]; then echo "Node is already running!" exit 1 fi |