This test needs to be inverted, otherwise it doesn't backup vservers at all

This commit is contained in:
Micah Anderson 2006-02-01 18:12:29 +00:00
parent cf0e2ac5d5
commit b756a86db7

View 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."