mirror of
https://0xacab.org/liberate/backupninja.git
synced 2024-11-10 04:42:31 +01:00
Fixed broken vserver dpkg parsing in sys handler
This commit is contained in:
parent
5c7bc95bc1
commit
bd2d784c05
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user