HomeFreeBSD

zgrep: fix exit status with multiple files

Description

zgrep: fix exit status with multiple files

zgrep should exit with success when given multiple files and the
pattern is found in at least one file. Prior to this change,
it would exit with success only if the pattern was found in _every_ file.

(cherry picked from commit 63c8336d4de15085d50c9d8c855cdc97ee018a04)

Details

Provenance
vangyzenAuthored on Oct 1 2020, 9:48 PM
kevansCommitted on Feb 11 2021, 3:19 PM
Parents
rGa7c68340584c: acpi: limit the AMDI0020/AMDI0010 workaround to an option
Branches
Unknown
Tags
Unknown