X-Git-Url: https://git.stderr.nl/gitweb?p=matthijs%2Fupstream%2Fbackupninja.git;a=blobdiff_plain;f=handlers%2Frub;h=d2b4c4460a8718c106e2014e931f3e57281adea4;hp=c68dee806b8c438d5d519d24da8a1271c1f0bf60;hb=d595bf00cbd1c13eb157edf8d29d4b8fa76220e2;hpb=b35260e595c78f9b29133a08e257ee03ed5c0d88 diff --git a/handlers/rub b/handlers/rub index c68dee8..d2b4c44 100644 --- a/handlers/rub +++ b/handlers/rub @@ -204,7 +204,7 @@ if [ "$from" == "remote" ]; then rsync_remote_options="$rsync_remote_options --compress" fi - fi [ ! -z "$bandwidthlimit" ]; then + if [ ! -z "$bandwidthlimit" ]; then rsync_remote_options="$rsync_remote_options --bwlimit=$bandwidthlimit" fi