Description of problem:
One gets a return code from a pipe in command substitution when pipefail is not set as if it were set.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. run the reproducer (see attached)
Created attachment 916378 [details]
ksh-20120801-10.el6_5.4.x86_64 works correctly, so it's a regression.
The regression is caused by the fix of bug #825520.
Created attachment 918457 [details]
patch to fix this
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.