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