aboutsummaryrefslogtreecommitdiff
path: root/handlers/sys.in
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2008-06-24 15:49:06 +0000
committerintrigeri <intrigeri@boum.org>2008-06-24 15:49:06 +0000
commit6c628e78f4f64680b5cec6b8062fe7e0f654043b (patch)
treeffd35eace087e31d85eb743ce46c76b2e5896db0 /handlers/sys.in
parentad8db347dcc0114c6d32207ecd2f00abd5d81986 (diff)
downloadbackupninja-6c628e78f4f64680b5cec6b8062fe7e0f654043b.tar.gz
backupninja-6c628e78f4f64680b5cec6b8062fe7e0f654043b.tar.bz2
lib/vserver: added vservers_running function, use it in sys handler (to ease future fix for Trac#45)
Diffstat (limited to 'handlers/sys.in')
-rwxr-xr-xhandlers/sys.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/handlers/sys.in b/handlers/sys.in
index 7b9fbb3..0f863d7 100755
--- a/handlers/sys.in
+++ b/handlers/sys.in
@@ -94,7 +94,7 @@ if [ "$packages" == "yes" ]; then
for vserver in $found_vservers; do
info "examining vserver: $vserver"
# is it running ?
- $VSERVERINFO -q $vserver RUNNING
+ vservers_running $vserver
if [ $? -ne 0 ]; then
warning "The vserver $vserver is not running."
continue