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:
cf0e2ac
)
This test needs to be inverted, otherwise it doesn't backup vservers at all
author
Micah Anderson
<micah@riseup.net>
Wed, 1 Feb 2006 18:12:29 +0000
(18:12 +0000)
committer
Micah Anderson
<micah@riseup.net>
Wed, 1 Feb 2006 18:12:29 +0000
(18:12 +0000)
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."