aboutsummaryrefslogtreecommitdiff
path: root/handlers/rdiff
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2006-01-19 21:57:28 +0000
committerintrigeri <intrigeri@boum.org>2006-01-19 21:57:28 +0000
commitb7dd0cbf8138bb02b5309ac98db10705ab40312e (patch)
tree967f2c28bf8bc4123626ed70cf67f9eb94154226 /handlers/rdiff
parenta04140d0716c8093789c9169ad66d39fa8d665d7 (diff)
downloadbackupninja-b7dd0cbf8138bb02b5309ac98db10705ab40312e.tar.gz
backupninja-b7dd0cbf8138bb02b5309ac98db10705ab40312e.tar.bz2
handlers/rdiff: make use of new lib/vserver functionality
Diffstat (limited to 'handlers/rdiff')
-rw-r--r--handlers/rdiff12
1 files changed, 6 insertions, 6 deletions
diff --git a/handlers/rdiff b/handlers/rdiff
index 82160f4..dc98501 100644
--- a/handlers/rdiff
+++ b/handlers/rdiff
@@ -172,12 +172,12 @@ done
# vsinclude
if [ $usevserver = yes ]; then
- for vserver in `ls $VROOTDIR|grep -v lost+found`; do
- for vi in "$vsinclude"; do
- str="${vi//__star__/*}"
- execstr="${execstr}--include '$VROOTDIR/$vserver$str' "
- done
- done
+ for vserver in $found_vservers; do
+ for vi in "$vsinclude"; do
+ str="${vi//__star__/*}"
+ execstr="${execstr}--include '$VROOTDIR/$vserver$str' "
+ done
+ done
fi
# exclude everything else