aboutsummaryrefslogtreecommitdiff
path: root/handlers/wget
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2012-05-15 17:55:51 +0200
committerintrigeri <intrigeri@boum.org>2012-05-15 17:55:51 +0200
commitad63b8a78b728bf7e2c479e5e26fb4ed9b6d66bf (patch)
tree392f8d082fb3fc26e1ea30c483c0e19a90f5f7f7 /handlers/wget
parent1b2dc55cb82d790eca8ea1c2b325a755db75a91a (diff)
parent13edaf0912f8b36d5035b5ebdbbc28fd0d498427 (diff)
downloadbackupninja-ad63b8a78b728bf7e2c479e5e26fb4ed9b6d66bf.tar.gz
backupninja-ad63b8a78b728bf7e2c479e5e26fb4ed9b6d66bf.tar.bz2
Merge tag 'backupninja_upstream/1.0_rc1' into debian
Upstream version 1.0~rc1 Conflicts: Makefile.in aclocal.m4 configure etc/Makefile.in examples/Makefile.in handlers/Makefile.in install-sh lib/Makefile.in man/Makefile.in missing src/Makefile.in
Diffstat (limited to 'handlers/wget')
-rw-r--r--handlers/wget6
1 files changed, 3 insertions, 3 deletions
diff --git a/handlers/wget b/handlers/wget
index 67425fc..79aa22c 100644
--- a/handlers/wget
+++ b/handlers/wget
@@ -26,7 +26,7 @@
# wget = wget program
# wget_options = wget command options
# url = remote data url
-# bandwidthlimit = set a badnwidth limit in kbps (remote source only)
+# bandwidthlimit = set a bandwidth limit in kbps (remote source only)
#
# [destination]
# folder = local folder
@@ -182,8 +182,8 @@ echo "Rotating $backupdir/$folder/$folder..." >> $log
rotate $backupdir/$folder/$folder $keep
info "Wget'ing $SECTION on $backupdir/$folder/$folder.0..."
-if [ ! -z "$badnwidth" ]; then
- limit_rate="--limit-rate=$badnwidth""k"
+if [ ! -z "$bandwidth" ]; then
+ limit_rate="--limit-rate=$bandwidth""k"
fi
cd $backupdir/$folder/$folder.0