Merge pull request #245 from phreaker0/local-source-bwlimit-fix
fix typo to make local source bwlimit work
This commit is contained in:
commit
d1153a244f
2
syncoid
2
syncoid
|
@ -773,7 +773,7 @@ sub buildsynccmd {
|
||||||
$synccmd = "$sendcmd |";
|
$synccmd = "$sendcmd |";
|
||||||
# avoid confusion - accept either source-bwlimit or target-bwlimit as the bandwidth limiting option here
|
# avoid confusion - accept either source-bwlimit or target-bwlimit as the bandwidth limiting option here
|
||||||
my $bwlimit = '';
|
my $bwlimit = '';
|
||||||
if (length $args{'bwlimit'}) {
|
if (length $args{'source-bwlimit'}) {
|
||||||
$bwlimit = $args{'source-bwlimit'};
|
$bwlimit = $args{'source-bwlimit'};
|
||||||
} elsif (length $args{'target-bwlimit'}) {
|
} elsif (length $args{'target-bwlimit'}) {
|
||||||
$bwlimit = $args{'target-bwlimit'};
|
$bwlimit = $args{'target-bwlimit'};
|
||||||
|
|
Loading…
Reference in New Issue