revert grep thought fail

Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com>
This commit is contained in:
Thomas Sjögren 2019-03-20 09:57:19 +01:00
parent 2e6b7ec653
commit 1c8699bcf3

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"