fix typo to make local source bwlimit work
This commit is contained in:
parent
2224866da6
commit
f5508a2403
2
syncoid
2
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'};
|
||||
|
|
Loading…
Reference in New Issue