Merge pull request #368 from konstruktoid/revertgrep

revert grep thought fail
This commit is contained in:
Thomas Sjögren 2019-03-20 08:57:59 +00:00 committed by GitHub
commit f791eb8a70
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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"