mysql,pgsql,svn,sys: fixed failing "is vserver running" test
[matthijs/upstream/backupninja.git] / handlers / svn
index 9a611c0f1233d90125c214a5090e02c20002693c..4dca225172cce1f6b30825221d0529c7fd8192e6 100644 (file)
@@ -32,7 +32,7 @@ then
        [ -d $vroot ] || fatal "vserver '$vsname' does not exist at '$vroot'"
         # is it running ?
        running=`$VSERVERINFO $vsname RUNNING`
-       [ $running = 1 ] || fatal "vserver $vsname is not running."
+       [ "$running" = "1" ] || fatal "vserver $vsname is not running."
 fi
 
 cd $vroot$src