From 6c628e78f4f64680b5cec6b8062fe7e0f654043b Mon Sep 17 00:00:00 2001 From: intrigeri Date: Tue, 24 Jun 2008 15:49:06 +0000 Subject: lib/vserver: added vservers_running function, use it in sys handler (to ease future fix for Trac#45) --- handlers/sys.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'handlers') 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 -- cgit v1.2.3