projects
/
feisty_meow.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f92404a
)
minor doc added
author
Chris Koeritz
<cak0l@virginia.edu>
Thu, 18 Nov 2021 14:00:24 +0000
(09:00 -0500)
committer
Chris Koeritz
<cak0l@virginia.edu>
Thu, 18 Nov 2021 14:00:24 +0000
(09:00 -0500)
scripts/core/functions.sh
patch
|
blob
|
history
diff --git
a/scripts/core/functions.sh
b/scripts/core/functions.sh
index c5a4f87daa7cc153a4d3d471a9c0d6e70e80ac67..463be9e066ab76d30541ba606e38bb62e9a6ce7b 100644
(file)
--- a/
scripts/core/functions.sh
+++ b/
scripts/core/functions.sh
@@
-76,6
+76,7
@@
if [ -z "$skip_all" ]; then
# makes the status of pipe number N (passed as first parameter) into the
# main return value (i.e., the value for $?). this is super handy to avoid
# repeating the awkward looking code below in multiple places.
+ # the numbering starts at zero, for the first item at the head of the pipe.
function promote_pipe_return()
{
( exit ${PIPESTATUS[$1]} )