btrbk: tidy error message

pull/447/head
Axel Burri 2021-11-06 16:09:51 +01:00
parent 2b21d1528c
commit 4f72ad123f
1 changed files with 1 additions and 1 deletions

2
btrbk
View File

@ -926,7 +926,7 @@ sub run_cmd(@)
my $cmd = _piped_cmd_txt(\@cmd_pipe);
if(scalar(@unsafe_cmd)) {
ERROR "Unsafe command `$cmd` (offending string: " . join(', ', map "\"$_\"", @unsafe_cmd) . ')';
ERROR "Unsafe command `$cmd`", map "Offending string: \"$_\"", @unsafe_cmd;
return undef;
}