From 78cec36e305b5a94ebc46e94385a27d08dfbca81 Mon Sep 17 00:00:00 2001 From: Axel Burri Date: Thu, 12 Jul 2018 16:14:06 +0200 Subject: [PATCH] ssh_filter_btrbk: tighten decompress match expression --- ssh_filter_btrbk.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ssh_filter_btrbk.sh b/ssh_filter_btrbk.sh index eb9fda0..33f51c6 100755 --- a/ssh_filter_btrbk.sh +++ b/ssh_filter_btrbk.sh @@ -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=