projects
/
matthijs
/
upstream
/
backupninja-vserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
62944db
)
Fixed broken vserver dpkg parsing in sys handler
author
micah
<micah@758a04ac-41e6-0310-8a23-8373a73cc35d>
Tue, 19 Jul 2005 16:08:39 +0000
(16:08 +0000)
committer
micah
<micah@758a04ac-41e6-0310-8a23-8373a73cc35d>
Tue, 19 Jul 2005 16:08:39 +0000
(16:08 +0000)
git-svn-id: http://code.autistici.org/svn/backupninja/trunk@148
758a04ac
-41e6-0310-8a23-
8373a73cc35d
handlers/sys
patch
|
blob
|
history
diff --git
a/handlers/sys
b/handlers/sys
index e095b45f1958392bcdce7745483f8e0e738c47f3..cb0856bd2b02a5eee728714247f1cd7544be835c 100755
(executable)
--- 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