diff options
author | Micah Anderson <micah@riseup.net> | 2007-11-24 23:13:24 +0000 |
---|---|---|
committer | Micah Anderson <micah@riseup.net> | 2007-11-24 23:13:24 +0000 |
commit | 84a6d7fa7a6c2ebd4e2b6687dba8fc6addfb843a (patch) | |
tree | ad273b20e031536734b2e90d25c375a2634f214c /handlers/maildir.in | |
parent | 08c45fbb990879e5ad88460d4bce27814668292c (diff) | |
download | backupninja-84a6d7fa7a6c2ebd4e2b6687dba8fc6addfb843a.tar.gz backupninja-84a6d7fa7a6c2ebd4e2b6687dba8fc6addfb843a.tar.bz2 |
fix Trac#25
Diffstat (limited to 'handlers/maildir.in')
-rw-r--r-- | handlers/maildir.in | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/handlers/maildir.in b/handlers/maildir.in index 0d88e92..7a68e85 100644 --- a/handlers/maildir.in +++ b/handlers/maildir.in @@ -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/\*'" |