mirror of https://github.com/digint/btrbk
ssh_filter_btrbk: tighten decompress match expression
parent
47f6f730ab
commit
78cec36e30
|
@ -61,7 +61,7 @@ reject_filtered_cmd()
|
|||
fi
|
||||
|
||||
if [[ -n "$allow_compress" ]]; then
|
||||
decompress_match="((${compress_list}) -d -c( -[0-9])?( -[pT][0-9]+)? \| )?"
|
||||
decompress_match="((${compress_list}) -d -c( -[pT][0-9]+)? \| )?"
|
||||
compress_match="( \| (${compress_list}) -c( -[0-9])?( -[pT][0-9]+)?)?"
|
||||
else
|
||||
decompress_match=
|
||||
|
|
Loading…
Reference in New Issue