diff options
author | Bernhard Rosenkraenzer <bero@arklinux.org> | 2002-03-26 14:42:33 +0000 |
---|---|---|
committer | Bernhard Rosenkraenzer <bero@arklinux.org> | 2002-03-26 14:42:33 +0000 |
commit | 68f0ed745a13e596081f9a6c97c816f1bdc612aa (patch) | |
tree | 5979008e1cfd130ddd61ceddaa6bfd55c95cc2be | |
parent | ddb00719a994ae277bbe7e1dc7f5063cefad802e (diff) | |
download | grep-68f0ed745a13e596081f9a6c97c816f1bdc612aa.tar.gz |
Fix https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=61705
* src/grep.c: Don't fail if we don't have an stdout fd and -q
is used (happens e.g. on calls from hotplug scripts)
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | src/grep.c | 1 |
2 files changed, 5 insertions, 0 deletions
@@ -1,3 +1,7 @@ +2002-03-26 Bernhard Rosenkraenzer <bero@redhat.com> + * src/grep.c: Don't fail if we don't have an stdout fd and -q + is used (happens e.g. on calls from hotplug scripts) + 2002-03-14 Bernhard Rosenkraenzer <bero@redhat.com> * src/Makefile.am, po/Makefile.in.in: Support DESTDIR properly * tests/bre.tests: Add fix from @@ -1519,6 +1519,7 @@ main (int argc, char **argv) case 'q': exit_on_match = 1; + close_stdout_set_status(0); break; case 'R': |