diff options
author | Micah Anderson <micah@riseup.net> | 2006-02-01 18:12:29 +0000 |
---|---|---|
committer | Micah Anderson <micah@riseup.net> | 2006-02-01 18:12:29 +0000 |
commit | b756a86db7bb96737b8a6f82934e5ab675b2811c (patch) | |
tree | afadb33b33515070351115b87175c3f5e125c3f1 | |
parent | cf0e2ac5d5efba9bbc2efc79901467fd94cf3f15 (diff) | |
download | backupninja-b756a86db7bb96737b8a6f82934e5ab675b2811c.tar.gz backupninja-b756a86db7bb96737b8a6f82934e5ab675b2811c.tar.bz2 |
This test needs to be inverted, otherwise it doesn't backup vservers at all
-rw-r--r-- | handlers/mysql | 2 |
1 files changed, 1 insertions, 1 deletions
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." |