From f45803230a839de092122f6843422097deff4eaa Mon Sep 17 00:00:00 2001 From: intrigeri Date: Sat, 18 Jul 2009 10:45:45 +0200 Subject: dup: fixed bandwidthlimit test Thanks to Ian Beckwith for the patch. --- handlers/dup.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'handlers/dup.in') 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 -- cgit v1.2.3