From b36138d447182ebdd776da0c7f579286e7b2f22a Mon Sep 17 00:00:00 2001 From: micah Date: Wed, 1 Feb 2006 18:12:29 +0000 Subject: [PATCH] This test needs to be inverted, otherwise it doesn't backup vservers at all git-svn-id: http://code.autistici.org/svn/backupninja/trunk@361 758a04ac-41e6-0310-8a23-8373a73cc35d --- handlers/mysql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/handlers/mysql b/handlers/mysql index 68f4f3c..0ff9884 100644 --- a/handlers/mysql +++ b/handlers/mysql @@ -24,7 +24,7 @@ getconf configfile /etc/mysql/debian.cnf local usevserver=no local vroot if [ $vservers_are_available = yes ]; then - if [ -z "$vsname" ]; then + if [ ! -z "$vsname" ]; then # does it exist ? if ! vservers_exist "$vsname" ; then fatal "The vserver given in vsname ($vsname) does not exist." -- 2.30.2