grep: make errors other than "not found" result in exit code 2. Closes 8796
authorDenys Vlasenko <vda.linux@googlemail.com>
Mon, 28 Mar 2016 20:12:09 +0000 (22:12 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Mon, 28 Mar 2016 20:12:09 +0000 (22:12 +0200)
commit73dfdda92e20da718a9cb398ed762cc09c82e3a7
treedcc9eefdb5e6b70cf473036c3995f967fca7b6e5
parentb9b7aa1910907f59f1130667fbe7b870087e97f8
grep: make errors other than "not found" result in exit code 2. Closes 8796

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
findutils/grep.c