On Wed, 24 Jul 2024, Greg Wooledge wrote: > Remember how -e is defined: > > -e [...] The shell does not exit if the command that fails is [...] any > command in a pipeline but the last
diff --git a/doc/bash.1 b/doc/bash.1 index cd355a3..266fe35 100644 --- a/doc/bash.1 +++ b/doc/bash.1 @@ -10327,7 +10327,7 @@ reserved words, part of any command executed in a or .B || list except the command following the final \fB&&\fP or \fB||\fP, -any command in a pipeline but the last, +any command in a pipeline but the last (unless \fBpipefail\fP applies), or if the command's return value is being inverted with .BR ! .