btrbk: fix regression: print quoted rsh command in table output

regression from: 27388c7589 btrbk: treat all filenames as unsafe
pull/427/head
Axel Burri 2021-09-04 15:46:57 +02:00
parent 1bda5fd978
commit bef13275d3
1 changed files with 1 additions and 1 deletions

2
btrbk
View File

@ -3313,7 +3313,7 @@ sub vinfo_prefixed_keys($$)
}
$ret{$prefix . "subvolume"} = $vinfo->{PATH};
my $rsh = vinfo_rsh($vinfo);
$ret{$prefix . "rsh"} = ($rsh ? join(" ", @$rsh) : undef),
$ret{$prefix . "rsh"} = $rsh ? _safe_cmd($rsh) : undef,
return %ret;
}