From 98406d46f2c1e0c3f5649c38ade3dbf8d48d3785 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Mon, 11 Jul 2022 12:31:01 +0100 Subject: [PATCH] updated check_shell_commands_dash_protections.sh --- check_shell_commands_dash_protections.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/check_shell_commands_dash_protections.sh b/check_shell_commands_dash_protections.sh index 802595ed..aee27a3a 100755 --- a/check_shell_commands_dash_protections.sh +++ b/check_shell_commands_dash_protections.sh @@ -37,7 +37,8 @@ check(){ local cmd="$1" command git grep -E "\\<$cmd[[:space:]]+" | grep -v -e '--' \ - -e "${0##*/}" + -e "${0##*/}" \ + -e '\.conf:' } for cmd in cp mv ln; do