fix Trac#25

This commit is contained in:
Micah Anderson 2007-11-24 23:13:24 +00:00
parent 08c45fbb99
commit 84a6d7fa7a
2 changed files with 5 additions and 1 deletions

View File

@ -30,6 +30,7 @@ version 0.9.5 -- unreleased
. Added an examples file (Closes: Trac#23)
. Applied patch from Anarcat that fixes the cp/mkdir calls to not use GNU
coreutils options, as well as some bashisms (Closes: Trac#24)
. Fix test mode (Closes: Trac#25)
mysql:
. Fixed case where odd combination of configuration options caused sqldump
backups to get overwritten with an empty file (Closes: #402679)

View File

@ -62,7 +62,10 @@ srcdir=${srcdir%/}
[ "$multiconnection" == "notset" ] && fatal "The maildir handler uses a very different destination format. See the example .maildir for more information"
[ ! $test ] || testflags="--dry-run -v"
if [ $test ]; then
testflags="--dry-run -v"
fi
rsyncflags="$testflags -e 'ssh -p $destport' -r -v --ignore-existing --delete --size-only --bwlimit=$speedlimit"
excludes="--exclude '.Trash/\*' --exclude '.Mistakes/\*' --exclude '.Spam/\*'"