RHBA-2014:1178
KornShell (KSH) is a Unix shell developed by AT&T Bell Laboratories, which is backward-compatible with the Bourne shell (Bash) and includes many features of the C shell. The most recent version is KSH-93. KornShell complies with the POSIX.2 standard (IEEE Std 1003.2-1992). This update fixes the following bugs: * Due to a regression, using command substitution containing the pipe character could return a non-zero exit status, even if the command did not fail. A patch has been provided to fix this bug, and the exit code from the command substitution is now correct. (BZ#1135405) * Previously, under some circumstances, ksh did not set the exit code when returning from a function. As a consequence, it was not possible to reliably test whether the function has succeeded. With this update, ksh no longer avoids setting the exit code, and the user can now reliably test whether the function has succeeded or not. (BZ#1136318) Users of ksh are advised to upgrade to these updated packages, which fix these bugs.
Evidence and freshness
Last supporting evidence check: 2026-11-27T23:33:29.885Z UTC
Upstream Advisory
Affected Packages
ksh 20120801-10.el6_5.11