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/pgsql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'handlers/pgsql') diff --git a/handlers/pgsql b/handlers/pgsql index c17caf8..dd1a2ea 100644 --- a/handlers/pgsql +++ b/handlers/pgsql @@ -30,7 +30,7 @@ if [ $usevserver ]; then [ -d $vroot ] || fatal "vserver '$vsname' does not exist at '$vroot'" # is it running ? running=`$VSERVERINFO $vsname RUNNING` - if [ $running = 1 ]; then + if [ "$running" = "1" ]; then if [ "$databases" == "all" ]; then [ -x "$vroot`$VSERVER $vsname exec which $PGSQLDUMPALL`" ] || \ fatal "Can't find $PGSQLDUMPALL in vserver $vsname." -- cgit v1.2.3