projects
/
matthijs
/
upstream
/
backupninja.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3fb9ffb
)
This test needs to be inverted, otherwise it doesn't backup vservers at all
author
micah
<micah@758a04ac-41e6-0310-8a23-8373a73cc35d>
Wed, 1 Feb 2006 18:12:29 +0000
(18:12 +0000)
committer
micah
<micah@758a04ac-41e6-0310-8a23-8373a73cc35d>
Wed, 1 Feb 2006 18:12:29 +0000
(18:12 +0000)
git-svn-id: http://code.autistici.org/svn/backupninja/trunk@361
758a04ac
-41e6-0310-8a23-
8373a73cc35d
handlers/mysql
patch
|
blob
|
history
diff --git
a/handlers/mysql
b/handlers/mysql
index 68f4f3c6151934ada65b760624a51acaa9ee4d13..0ff9884987adbb2189c084d6fb48e86e66b1ce49 100644
(file)
--- 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."