18870: Fix typo
[arvados.git] / tools / salt-install / installer.sh
index 6fdd0320feb0370a54752a6bba1c1e069167d1ca..90584b36fc2cafe32273035edac3ea5112e1ae6f 100755 (executable)
@@ -7,9 +7,7 @@
 set -e
 
 sync() {
-    if test $NODE = localhost ; then
-       # nothing to do
-    else
+    if test "$NODE" != localhost ; then
        if ! ssh $NODE test -d arvados-setup ; then
            ssh $NODE git init --bare arvados-setup.git
            if ! git remote add $NODE $DEPLOY_USER@$NODE:arvados-setup.git ; then