X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=handlers%2Fsys;h=cb0856bd2b02a5eee728714247f1cd7544be835c;hb=bd2d784c05df8a751aaad57af7436be69c1a47d4;hp=e095b45f1958392bcdce7745483f8e0e738c47f3;hpb=5c7bc95bc11f280d53cbe1de9e78c631f94fe108;p=matthijs%2Fupstream%2Fbackupninja.git 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