Skip to content
Snippets Groups Projects
Commit bd2d784c authored by micah's avatar micah :speech_balloon:
Browse files

Fixed broken vserver dpkg parsing in sys handler

parent 5c7bc95b
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment