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