From: intrigeri Date: Sat, 18 Jul 2009 08:48:10 +0000 (+0200) Subject: dup: fixed bandwidth vs desturl testing X-Git-Tag: backupninja-0.9.7~33 X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=1b991d6c1545b0c83ec86a5256af9db14384f443;p=matthijs%2Fupstream%2Fbackupninja.git dup: fixed bandwidth vs desturl testing --- 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