X-Git-Url: https://git.stderr.nl/gitweb?p=matthijs%2Fupstream%2Fbackupninja.git;a=blobdiff_plain;f=handlers%2Fsys;h=66f1595f12e8e932f414b45986cf830d730beb09;hp=8054b4a7ebb898b092381399235af2504b75466a;hb=921babdf413f370acccc5e125a2c37fbdd18afd3;hpb=d5c8686efd9ea9a5c4f8bc8c3566c2e6a0165ace 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"