This test needs to be inverted, otherwise it doesn't backup vservers at all
[matthijs/upstream/backupninja.git] / 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."