diff options
author | Micah Anderson <micah@riseup.net> | 2005-07-19 16:08:39 +0000 |
---|---|---|
committer | Micah Anderson <micah@riseup.net> | 2005-07-19 16:08:39 +0000 |
commit | bd2d784c05df8a751aaad57af7436be69c1a47d4 (patch) | |
tree | 10f313e719bf172c5f0fd52186bcffac2282dd5a | |
parent | 5c7bc95bc11f280d53cbe1de9e78c631f94fe108 (diff) | |
download | backupninja-bd2d784c05df8a751aaad57af7436be69c1a47d4.tar.gz backupninja-bd2d784c05df8a751aaad57af7436be69c1a47d4.tar.bz2 |
Fixed broken vserver dpkg parsing in sys handler
-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 |