pull/65/merge
Michael Düll 2016-01-19 16:54:51 +00:00
commit f4bb1c8738
1 changed files with 1 additions and 2 deletions

3
btrbk
View File

@ -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 }
}; };