7 Bug-Reported-by: ben@ncipher.com
8 Bug-Reference-ID: <E1BxQYe-0002p1-00@berdoo.ncipher.com>
9 Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2004-08/msg00215.html
13 When using the pipefail option, the following command:
15 produces an exit status of 0, ignoring the exit status of false.
19 *** ../bash-3.0/jobs.c Fri Apr 23 16:28:25 2004
20 --- jobs.c Wed Aug 18 11:15:07 2004
25 ! for (p = jobs[job]->pipe; p->next != jobs[job]->pipe; p = p->next)
26 ! if (p->status != EXECUTION_SUCCESS) fail = p->status;
32 ! p = jobs[job]->pipe;
35 ! if (p->status != EXECUTION_SUCCESS) fail = p->status;
38 ! while (p != jobs[job]->pipe);
42 *** ../bash-3.0/patchlevel.h Wed Aug 22 08:05:39 2001
43 --- patchlevel.h Thu Sep 2 15:04:32 2004
46 looks for to find the patch level (for the sccs version string). */
48 ! #define PATCHLEVEL 11
50 #endif /* _PATCHLEVEL_H_ */
52 looks for to find the patch level (for the sccs version string). */
54 ! #define PATCHLEVEL 12
56 #endif /* _PATCHLEVEL_H_ */