From fd2efba485eeca4ee93c475f97bb3e1bffc52269 Mon Sep 17 00:00:00 2001 From: Ian Kelling Date: Fri, 2 Aug 2019 07:56:36 -0400 Subject: [PATCH] minor comment --- err | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/err b/err index 580183c..73013a8 100644 --- a/err +++ b/err @@ -78,7 +78,8 @@ err-catch() { echo "${BASH_SOURCE[1]}:${BASH_LINENO[0]}: \`$BASH_COMMAND' returned $err" err-bash-trace 2 set -e # err trap does not work within an error trap - "${_errcatch_cleanup[@]:-:}" # note :-: is to be compatible with set -u + # note :-: makes this compatible with set -u. shellcheck doesn't understand. + "${_errcatch_cleanup[@]:-:}" echo "$0: exiting with code $err" exit $err } -- 2.25.1