Skip to content
Snippets Groups Projects
Commit b756a86d authored by micah's avatar micah :speech_balloon:
Browse files

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

parent cf0e2ac5
No related branches found
No related tags found
No related merge requests found
...@@ -24,7 +24,7 @@ getconf configfile /etc/mysql/debian.cnf ...@@ -24,7 +24,7 @@ getconf configfile /etc/mysql/debian.cnf
local usevserver=no local usevserver=no
local vroot local vroot
if [ $vservers_are_available = yes ]; then if [ $vservers_are_available = yes ]; then
if [ -z "$vsname" ]; then if [ ! -z "$vsname" ]; then
# does it exist ? # does it exist ?
if ! vservers_exist "$vsname" ; then if ! vservers_exist "$vsname" ; then
fatal "The vserver given in vsname ($vsname) does not exist." fatal "The vserver given in vsname ($vsname) does not exist."
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment