From f5508a240387bb80f3db6937c8724fa006e4a5b2 Mon Sep 17 00:00:00 2001 From: Christoph Klaffl Date: Thu, 26 Jul 2018 21:46:50 +0200 Subject: [PATCH] fix typo to make local source bwlimit work --- syncoid | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syncoid b/syncoid index f53aee4..cf941bf 100755 --- a/syncoid +++ b/syncoid @@ -757,7 +757,7 @@ sub buildsynccmd { $synccmd = "$sendcmd |"; # avoid confusion - accept either source-bwlimit or target-bwlimit as the bandwidth limiting option here my $bwlimit = ''; - if (length $args{'bwlimit'}) { + if (length $args{'source-bwlimit'}) { $bwlimit = $args{'source-bwlimit'}; } elsif (length $args{'target-bwlimit'}) { $bwlimit = $args{'target-bwlimit'};