ssh_filter_btrbk: tighten decompress match expression

pull/245/head
Axel Burri 2018-07-12 16:14:06 +02:00
parent 47f6f730ab
commit 78cec36e30
1 changed files with 1 additions and 1 deletions

View File

@ -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=