Skip to content

Commit 6d73492

Browse files
authored
Merge pull request #392 from jammasterj89/master
Fixed exclude flag issue with functions_lib.sh
2 parents b354514 + f4e33ee commit 6d73492

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker-bench-security.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ main () {
138138
cis
139139
elif [ -z "$check" ] && [ "$checkexclude" ]; then
140140
checkexcluded="$(echo ",$checkexclude" | sed -e 's/^/\^/g' -e 's/,/\$|/g' -e 's/$/\$/g')"
141-
for c in $(grep 'check_[0-9]' functions_lib.sh | grep -vE "$checkexcluded"); do
141+
for c in $(grep -E 'check_[0-9]|check_[a-z]' functions_lib.sh | grep -vE "$checkexcluded"); do
142142
"$c"
143143
done
144144
else

0 commit comments

Comments
 (0)