Bug 1135405

Summary: wrong return code from a pipe in command substitution
Product: Red Hat Enterprise Linux 6 Reporter: Jan Kurik <jkurik>
Component: kshAssignee: Michal Hlavinka <mhlavink>
Status: CLOSED ERRATA QA Contact: Jan Kepler <jkejda>
Severity: high Docs Contact:
Priority: urgent    
Version: 6.5CC: fkrska, jkejda, jsvarova, lmiksik, mhlavink, mkolaja, mkyral, ovasik, pm-eus, rvokal, yoguma
Target Milestone: rcKeywords: Regression, ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: ksh-20120801-10.el6_5.10 Doc Type: Bug Fix
Doc Text:
Due to a regression, the exit code returned from a command substitution containing a pipe could be nonzero even when a command did not fail. A patch has been provided to fix this bug, and the exit code of a command substitution is now correct.
Story Points: ---
Clone Of: 1117316 Environment:
Last Closed: 2014-09-11 08:23:29 UTC Type: ---
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: 1117316    
Bug Blocks:    

Description Jan Kurik 2014-08-29 08:49:16 UTC
This bug has been copied from bug #1117316 and has been proposed
to be backported to 6.5 z-stream (EUS).

Comment 9 errata-xmlrpc 2014-09-11 08:23:29 UTC
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.

http://rhn.redhat.com/errata/RHBA-2014-1178.html