diff options
-rwxr-xr-x | handlers/sys | 5 |
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 |