mirror of
https://0xacab.org/liberate/backupninja.git
synced 2024-11-12 13:52:50 +01:00
This test needs to be inverted, otherwise it doesn't backup vservers at all
This commit is contained in:
parent
cf0e2ac5d5
commit
b756a86db7
@ -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."
|
||||
|
Loading…
Reference in New Issue
Block a user