From e8bad5dc64783d1b4c9d243414c440aba43d5491 Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Sat, 10 May 2014 16:39:08 +0000 Subject: [PATCH] grep -L returns non-zero status if none of the files had the pattern in them. This is often the case, so just ignore the return code. Actual errors that are found will also be detected downstream in the rare cases where the return code is 2 instead of 1. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 8db5fe4cbc48..c47ba90a70cb 100644 --- a/Makefile +++ b/Makefile @@ -450,7 +450,7 @@ TARGET!= uname -m .if defined(MAKE_ALL_KERNELS) _THINNER=cat .else -_THINNER=xargs grep -L "^.NO_UNIVERSE" +_THINNER=xargs grep -L "^.NO_UNIVERSE" || true .endif KERNCONFS!= cd ${KERNSRCDIR}/${TARGET}/conf && \ find [A-Z0-9]*[A-Z0-9] -type f -maxdepth 0 \