aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2007-11-25 17:17:55 +0000
committerintrigeri <intrigeri@boum.org>2007-11-25 17:17:55 +0000
commit43ad2977002acb83ec56463212bd1f263f53442a (patch)
tree4e629864f793af937213eea0886872b256de7125
parentc8e983a5ba54e967e48e4009dbb5f8569a79401c (diff)
downloadbackupninja-43ad2977002acb83ec56463212bd1f263f53442a.tar.gz
backupninja-43ad2977002acb83ec56463212bd1f263f53442a.tar.bz2
fix duplicity version test
-rw-r--r--handlers/dup.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/handlers/dup.in b/handlers/dup.in
index 9848cbc..4b286a3 100644
--- a/handlers/dup.in
+++ b/handlers/dup.in
@@ -89,7 +89,7 @@ scpoptions="$sshoptions"
execstr="$options --no-print-statistics "
# < 0.4.2 : only uses ssh and scp
-if [ "$duplicity_major" -le 0 -a "$duplicity_minor" -le 4 -a "$duplicity_sub" -le 2 ]; then
+if [ "$duplicity_major" -le 0 -a "$duplicity_minor" -le 4 -a "$duplicity_sub" -lt 2 ]; then
execstr="$execstr --scp-command 'scp $scpoptions' --ssh-command 'ssh $sshoptions' "
# >= 0.4.2 : also uses sftp, --sftp-command option is now supported
else