Bug 1109123
Summary: | xzgrep returns wrong exitcode if match isn't found in every file | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Pavel Raiskup <praiskup> |
Component: | xz | Assignee: | Pavel Raiskup <praiskup> |
Status: | CLOSED ERRATA | QA Contact: | qe-baseos-daemons |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 7.0 | CC: | jpopelka, jscotka, lmiksik, ovasik, rskvaril, todoleza |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | xz-5.1.2-10alpha.el7 | Doc Type: | Bug Fix |
Doc Text: |
Previously, the xzgrep command returned exit status 1 when contents of one or more files did not match the requested pattern. With this update, xzgrep returns exit status 0 if there is at least one match of the pattern, which makes the xzgrep behavior consistent with the default grep command behavior.
|
Story Points: | --- |
Clone Of: | 1108085 | Environment: | |
Last Closed: | 2015-08-12 07:48:43 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 1108085, 1190713, 1202520 | ||
Bug Blocks: | 1109122, 1110706, 1191020 |
Description
Pavel Raiskup
2014-06-13 09:47:17 UTC
*** Bug 1145754 has been marked as a duplicate of this bug. *** Moving to 7.2 FAST. Already fixed in RHEL6. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2015-1598.html |