projects
/
matthijs
/
upstream
/
backupninja-vserver.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed catifexec function to actually work, also now takes arguments that are passed...
[matthijs/upstream/backupninja-vserver.git]
/
handlers
/
svn.in
diff --git
a/handlers/svn.in
b/handlers/svn.in
index 377d71c6de57533af0bc81f259fab62d56930f05..d19b0b8c403b785cc595e4134011b5d1deccc973 100644
(file)
--- a/
handlers/svn.in
+++ b/
handlers/svn.in
@@
-22,10
+22,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