X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=handlers%2Fmysql;h=8d59fa4b0cd1cb897b8199605930a604058adf6b;hb=f06717699a7e31ca890b92f34560c902146a51ae;hp=569b0a206d21dc4b509539fd969c2ce6e9d181e3;hpb=aa30a8aeaced8648154c6cddb0959e55cd6ae8b6;p=matthijs%2Fupstream%2Fbackupninja-vserver.git diff --git a/handlers/mysql b/handlers/mysql index 569b0a2..8d59fa4 100644 --- a/handlers/mysql +++ b/handlers/mysql @@ -57,7 +57,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 # create backup dirs, the vroot variable will be empty if no vsname was specified