aboutsummaryrefslogtreecommitdiff
path: root/handlers
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2005-07-19 16:08:39 +0000
committerMicah Anderson <micah@riseup.net>2005-07-19 16:08:39 +0000
commitbd2d784c05df8a751aaad57af7436be69c1a47d4 (patch)
tree10f313e719bf172c5f0fd52186bcffac2282dd5a /handlers
parent5c7bc95bc11f280d53cbe1de9e78c631f94fe108 (diff)
downloadbackupninja-bd2d784c05df8a751aaad57af7436be69c1a47d4.tar.gz
backupninja-bd2d784c05df8a751aaad57af7436be69c1a47d4.tar.bz2
Fixed broken vserver dpkg parsing in sys handler
Diffstat (limited to 'handlers')
-rwxr-xr-xhandlers/sys5
1 files changed, 4 insertions, 1 deletions
diff --git a/handlers/sys b/handlers/sys
index e095b45..cb0856b 100755
--- a/handlers/sys
+++ b/handlers/sys
@@ -46,8 +46,11 @@ fi
if [ "$packages" == "yes" ]; then
if [ $usevserver ]
then
- for vserver in `ls $VROOTDIR |grep -v lost+found`
+ nodpkg="lost+found"
+ info "vserver root directory set to: $VROOTDIR"
+ for vserver in `ls $VROOTDIR |grep -v $nodpkg`
do
+ info "examining vserver: $vserver"
running=`vserver-info $vserver RUNNING`
if [ $running = 1 ]; then
if [ ! -x "`$VSERVER $vserver exec which dpkg`" ]; then