Missed some compression variable renames
This commit is contained in:
parent
11da17fa4a
commit
90e6a401da
4
syncoid
4
syncoid
|
@ -651,11 +651,11 @@ sub buildsynccmd {
|
||||||
# remote source, local target.
|
# remote source, local target.
|
||||||
#$synccmd = "$sshcmd $sourcehost '$sendcmd | $compressargs{'cmd'} | $mbuffercmd' | $args{'decompress'}{'cmd'} | $mbuffercmd | $pvcmd | $recvcmd";
|
#$synccmd = "$sshcmd $sourcehost '$sendcmd | $compressargs{'cmd'} | $mbuffercmd' | $args{'decompress'}{'cmd'} | $mbuffercmd | $pvcmd | $recvcmd";
|
||||||
$synccmd = "$sshcmd $sourcehost '$sendcmd";
|
$synccmd = "$sshcmd $sourcehost '$sendcmd";
|
||||||
if ($avail{'compress'}) { $synccmd .= " | $compressargs{'compresscmd'}"; }
|
if ($avail{'compress'}) { $synccmd .= " | $compressargs{'cmd'}"; }
|
||||||
if ($avail{'sourcembuffer'}) { $synccmd .= " | $mbuffercmd $args{'source-bwlimit'} $mbufferoptions"; }
|
if ($avail{'sourcembuffer'}) { $synccmd .= " | $mbuffercmd $args{'source-bwlimit'} $mbufferoptions"; }
|
||||||
$synccmd .= "' | ";
|
$synccmd .= "' | ";
|
||||||
if ($avail{'targetmbuffer'}) { $synccmd .= "$mbuffercmd $args{'target-bwlimit'} $mbufferoptions | "; }
|
if ($avail{'targetmbuffer'}) { $synccmd .= "$mbuffercmd $args{'target-bwlimit'} $mbufferoptions | "; }
|
||||||
if ($avail{'compress'}) { $synccmd .= "$compressargs{'decompresscmd'} | "; }
|
if ($avail{'compress'}) { $synccmd .= "$compressargs{'decomcmd'} | "; }
|
||||||
if ($avail{'localpv'} && !$quiet) { $synccmd .= "$pvcmd -s $pvsize | "; }
|
if ($avail{'localpv'} && !$quiet) { $synccmd .= "$pvcmd -s $pvsize | "; }
|
||||||
$synccmd .= "$recvcmd";
|
$synccmd .= "$recvcmd";
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue