dup: fixed bandwidth vs desturl testing
authorintrigeri <intrigeri@boum.org>
Sat, 18 Jul 2009 08:48:10 +0000 (10:48 +0200)
committerintrigeri <intrigeri@boum.org>
Sat, 18 Jul 2009 08:48:10 +0000 (10:48 +0200)
handlers/dup.in

index 54b77097ed5899f5530d0990dbdc1c21f0dbd31d..59aa90a424cd24469dad2110d50e0a87a2c7f858 100644 (file)
@@ -107,7 +107,7 @@ duplicity_sub="`echo $duplicity_version | @AWK@ -F '.' '{print $3}'`"
 
 scpoptions="$sshoptions"
 if [ "$bandwidthlimit" != 0 ]; then
 
 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
 
    scpoptions="$scpoptions -l $bandwidthlimit"
 fi