projects
/
matthijs
/
upstream
/
backupninja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lib/Makefile.am: fix CLEANFILES, add substitution for MKTEMP, else ninjahelper crashes
[matthijs/upstream/backupninja.git]
/
handlers
/
mysql.in
diff --git
a/handlers/mysql.in
b/handlers/mysql.in
index defb72aa8aeb98713d807024a5a488bcbca43cdd..fe1e7832f32ee43c090cf5e17d6e985e040f8376 100644
(file)
--- a/
handlers/mysql.in
+++ b/
handlers/mysql.in
@@
-31,10
+31,7
@@
if [ $vservers_are_available = yes ]; then
fatal "The vserver given in vsname ($vsname) does not exist."
fi
# is it running ?
fatal "The vserver given in vsname ($vsname) does not exist."
fi
# is it running ?
- $VSERVERINFO -q $vsname RUNNING
- if [ $? -ne 0 ]; then
- fatal "The vserver $vsname is not running."
- fi
+ vservers_running $vsname || fatal "The vserver $vsname is not running."
# everything ok
info "Using vserver '$vsname'."
usevserver=yes
# everything ok
info "Using vserver '$vsname'."
usevserver=yes