diff options
-rw-r--r-- | handlers/rub | 2 |
1 files changed, 1 insertions, 1 deletions
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 |