aboutsummaryrefslogtreecommitdiff
path: root/handlers/dup.in
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2009-07-18 10:45:45 +0200
committerintrigeri <intrigeri@boum.org>2009-07-18 10:47:55 +0200
commitf45803230a839de092122f6843422097deff4eaa (patch)
treef41c3338f8b259d7fc196a03ee63d968527d2abe /handlers/dup.in
parent8000beda168ec59df4f8cc69e72cb6e9722368eb (diff)
downloadbackupninja-f45803230a839de092122f6843422097deff4eaa.tar.gz
backupninja-f45803230a839de092122f6843422097deff4eaa.tar.bz2
dup: fixed bandwidthlimit test
Thanks to Ian Beckwith <ianb@erislabs.net> for the patch.
Diffstat (limited to 'handlers/dup.in')
-rw-r--r--handlers/dup.in2
1 files changed, 1 insertions, 1 deletions
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