X-Git-Url: https://git.stderr.nl/gitweb?p=matthijs%2Fupstream%2Fbackupninja.git;a=blobdiff_plain;f=handlers%2Fmysql;h=8d59fa4b0cd1cb897b8199605930a604058adf6b;hp=569b0a206d21dc4b509539fd969c2ce6e9d181e3;hb=921babdf413f370acccc5e125a2c37fbdd18afd3;hpb=d5c8686efd9ea9a5c4f8bc8c3566c2e6a0165ace 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