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.
This commit is contained in:
Reference in New Issue
Block a user