From: Micah Anderson Date: Wed, 1 Feb 2006 18:12:29 +0000 (+0000) Subject: This test needs to be inverted, otherwise it doesn't backup vservers at all X-Git-Tag: backupninja-0.9.4~84 X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=b756a86db7bb96737b8a6f82934e5ab675b2811c;p=matthijs%2Fupstream%2Fbackupninja.git This test needs to be inverted, otherwise it doesn't backup vservers at all --- 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."