mirror of
https://github.com/docker/docker-bench-security.git
synced 2025-01-18 16:22:33 +01:00
Merge pull request #368 from konstruktoid/revertgrep
revert grep thought fail
This commit is contained in:
commit
f791eb8a70
1 changed files with 1 additions and 1 deletions
|
@ -225,7 +225,7 @@ check_4_9() {
|
|||
add_images=""
|
||||
for img in $images; do
|
||||
if docker history --format "{{ .CreatedBy }}" --no-trunc "$img" | \
|
||||
sed '$d' | grep -q 'ADD.*in /\s$'; then
|
||||
sed '$d' | grep -q 'ADD'; then
|
||||
if [ $fail -eq 0 ]; then
|
||||
fail=1
|
||||
info "$check_4_9"
|
||||
|
|
Loading…
Reference in a new issue