mirror of
https://github.com/docker/docker-bench-security.git
synced 2025-07-23 11:37:50 +00:00
linting
Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com>
This commit is contained in:
parent
4725582a0c
commit
391e09f76a
6 changed files with 167 additions and 17 deletions
|
@ -126,7 +126,7 @@ main () {
|
|||
cis
|
||||
elif [ -z "$check" ] && [ "$checkexclude" ]; then
|
||||
checkexcluded="$(echo ",$checkexclude" | sed -e 's/^/\^/g' -e 's/,/\$|/g' -e 's/$/\$/g')"
|
||||
for c in $(grep 'check_[0-9]_' functions_lib.sh | grep -vE "\'$checkexcluded\'"); do
|
||||
grep 'check_[0-9]_' functions_lib.sh | grep -vE "\'$checkexcluded\'" | while read -r c; do
|
||||
"$c"
|
||||
done
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue