aboutsummaryrefslogtreecommitdiff
path: root/handlers/mysql
diff options
context:
space:
mode:
Diffstat (limited to 'handlers/mysql')
-rw-r--r--handlers/mysql2
1 files changed, 1 insertions, 1 deletions
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