From bd2d784c05df8a751aaad57af7436be69c1a47d4 Mon Sep 17 00:00:00 2001 From: Micah Anderson Date: Tue, 19 Jul 2005 16:08:39 +0000 Subject: Fixed broken vserver dpkg parsing in sys handler --- 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 -- cgit v1.2.3