From 921babdf413f370acccc5e125a2c37fbdd18afd3 Mon Sep 17 00:00:00 2001 From: intrigeri Date: Tue, 29 Nov 2005 14:18:31 +0000 Subject: mysql,pgsql,svn,sys: fixed failing "is vserver running" test --- handlers/mysql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'handlers/mysql') 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 -- cgit v1.2.3