From 5f87c8acaca8c73210b7532074c16deecf142ed9 Mon Sep 17 00:00:00 2001 From: micah Date: Tue, 19 Jul 2005 16:08:39 +0000 Subject: [PATCH] Fixed broken vserver dpkg parsing in sys handler git-svn-id: http://code.autistici.org/svn/backupninja/trunk@148 758a04ac-41e6-0310-8a23-8373a73cc35d --- handlers/sys | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- 2.30.2