mirror of https://github.com/digint/btrbk
Merge e7aa692110
into 614438183f
commit
f4bb1c8738
3
btrbk
3
btrbk
|
@ -1293,13 +1293,12 @@ sub btrfs_send_receive($$$$)
|
||||||
catch_stderr => 1, # hack for shell-based run_cmd()
|
catch_stderr => 1, # hack for shell-based run_cmd()
|
||||||
};
|
};
|
||||||
push @cmd_pipe, {
|
push @cmd_pipe, {
|
||||||
cmd => [ '/usr/bin/pv' ],
|
cmd => [ '/usr/bin/pv', '-traeb' ],
|
||||||
} if($show_progress);
|
} if($show_progress);
|
||||||
push @cmd_pipe, {
|
push @cmd_pipe, {
|
||||||
cmd => [ qw(btrfs receive), @receive_options, $target_path . '/' ],
|
cmd => [ qw(btrfs receive), @receive_options, $target_path . '/' ],
|
||||||
rsh => $target->{RSH},
|
rsh => $target->{RSH},
|
||||||
name => "btrfs receive",
|
name => "btrfs receive",
|
||||||
catch_stderr => 1, # hack for shell-based run_cmd()
|
|
||||||
filter_stderr => sub { $err = $_; $_ = undef }
|
filter_stderr => sub { $err = $_; $_ = undef }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue