aboutsummaryrefslogtreecommitdiff
path: root/handlers/sys
diff options
context:
space:
mode:
Diffstat (limited to 'handlers/sys')
-rwxr-xr-xhandlers/sys2
1 files changed, 1 insertions, 1 deletions
diff --git a/handlers/sys b/handlers/sys
index 8054b4a..66f1595 100755
--- a/handlers/sys
+++ b/handlers/sys
@@ -52,7 +52,7 @@ if [ "$packages" == "yes" ]; then
do
info "examining vserver: $vserver"
running=`$VSERVERINFO $vserver RUNNING`
- if [ $running = 1 ]; then
+ if [ "$running" = "1" ]; then
if [ ! -x "$VROOTDIR/$vserver`$VSERVER $vserver exec which dpkg`" ]; then
warning "can't find dpkg in vserver $vserver, skipping installed packages report."
nodpkg="$nodpkg|$vserver"