X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=handlers%2Fdup.in;h=59aa90a424cd24469dad2110d50e0a87a2c7f858;hb=fbd0b8742caa0c03dec294e64fdddf28fdf05aff;hp=54b77097ed5899f5530d0990dbdc1c21f0dbd31d;hpb=f45803230a839de092122f6843422097deff4eaa;p=matthijs%2Fupstream%2Fbackupninja.git diff --git a/handlers/dup.in b/handlers/dup.in index 54b7709..59aa90a 100644 --- a/handlers/dup.in +++ b/handlers/dup.in @@ -107,7 +107,7 @@ duplicity_sub="`echo $duplicity_version | @AWK@ -F '.' '{print $3}'`" scpoptions="$sshoptions" if [ "$bandwidthlimit" != 0 ]; then - [ -z "$testurl" ] || warning 'The bandwidthlimit option is not used when desturl is set.' + [ -z "$desturl" ] || warning 'The bandwidthlimit option is not used when desturl is set.' scpoptions="$scpoptions -l $bandwidthlimit" fi