diff --git a/handlers/rub b/handlers/rub index c68dee806b8c438d5d519d24da8a1271c1f0bf60..d2b4c4460a8718c106e2014e931f3e57281adea4 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