From: Chris Koeritz Date: Thu, 18 Nov 2021 14:00:24 +0000 (-0500) Subject: minor doc added X-Git-Tag: 2.140.131^2~3 X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;h=bb73b3c4702b9e1751d2b94cd3bfdebfc2b8746c;p=feisty_meow.git minor doc added --- diff --git a/scripts/core/functions.sh b/scripts/core/functions.sh index c5a4f87d..463be9e0 100644 --- 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]} )