aboutsummaryrefslogtreecommitdiff
path: root/handlers/sys
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2005-11-29 14:18:31 +0000
committerintrigeri <intrigeri@boum.org>2005-11-29 14:18:31 +0000
commit921babdf413f370acccc5e125a2c37fbdd18afd3 (patch)
tree617c52c504c2f9f44e0f63cf8e08ecb718020d8b /handlers/sys
parentd5c8686efd9ea9a5c4f8bc8c3566c2e6a0165ace (diff)
downloadbackupninja-921babdf413f370acccc5e125a2c37fbdd18afd3.tar.gz
backupninja-921babdf413f370acccc5e125a2c37fbdd18afd3.tar.bz2
mysql,pgsql,svn,sys: fixed failing "is vserver running" test
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"