X-Git-Url: https://git.stderr.nl/gitweb?p=matthijs%2Fupstream%2Fbackupninja.git;a=blobdiff_plain;f=handlers%2Fdup.in;h=4b286a36c6003bf301e5e33cc645d549822a24b6;hp=9848cbc024e981acb5b6c0f09ea91e97de0c184d;hb=43ad2977002acb83ec56463212bd1f263f53442a;hpb=c8e983a5ba54e967e48e4009dbb5f8569a79401c 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