This test needs to be inverted, otherwise it doesn't backup vservers at all
authormicah <micah@758a04ac-41e6-0310-8a23-8373a73cc35d>
Wed, 1 Feb 2006 18:12:29 +0000 (18:12 +0000)
committermicah <micah@758a04ac-41e6-0310-8a23-8373a73cc35d>
Wed, 1 Feb 2006 18:12:29 +0000 (18:12 +0000)
git-svn-id: http://code.autistici.org/svn/backupninja/trunk@361 758a04ac-41e6-0310-8a23-8373a73cc35d

handlers/mysql

index 68f4f3c6151934ada65b760624a51acaa9ee4d13..0ff9884987adbb2189c084d6fb48e86e66b1ce49 100644 (file)
@@ -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."