dup: fixed bandwidth vs desturl testing

This commit is contained in:
intrigeri 2009-07-18 10:48:10 +02:00
parent f45803230a
commit 1b991d6c15

View File

@ -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