From 1b991d6c1545b0c83ec86a5256af9db14384f443 Mon Sep 17 00:00:00 2001 From: intrigeri Date: Sat, 18 Jul 2009 10:48:10 +0200 Subject: dup: fixed bandwidth vs desturl testing --- handlers/dup.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3