aboutsummaryrefslogtreecommitdiff
path: root/handlers/dup
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2005-08-09 20:50:05 +0000
committerintrigeri <intrigeri@boum.org>2005-08-09 20:50:05 +0000
commit4e0c31d01627b9c01ff09841e1061f42750997f6 (patch)
treeea9b60d765aac2faa9d6ae59943168086e7e6f32 /handlers/dup
parentf22dbec1dcad37d85b6ee8b556dc999c542bc3c0 (diff)
downloadbackupninja-4e0c31d01627b9c01ff09841e1061f42750997f6.tar.gz
backupninja-4e0c31d01627b9c01ff09841e1061f42750997f6.tar.bz2
Fixed/improved a few bits of rdiff, dup and sys handlers.
Diffstat (limited to 'handlers/dup')
-rw-r--r--handlers/dup2
1 files changed, 1 insertions, 1 deletions
diff --git a/handlers/dup b/handlers/dup
index 3b4d032..7dfb766 100644
--- a/handlers/dup
+++ b/handlers/dup
@@ -39,7 +39,7 @@ if [ "$vservers" == "yes" ]; then
[ -d "$VROOTDIR" ] || fatal "vservers enabled, but $VROOTDIR does not exist!"
if [ "$vsnames" == "all" ]; then
vsnames=""
- for vserver in `ls $VROOTDIR | grep -v lost+found | grep -v ARCHIVES`; do
+ for vserver in `ls $VROOTDIR | grep -E -v "lost+found|ARCHIVES"`; do
vsnames="$vserver $vsnames"
done
else