minor comment
[errhandle.git] / err
diff --git a/err b/err
index 580183ca6d430b0a882403e44d39cb069de23b15..73013a865a198e5a65d44197e05797f6055af236 100644 (file)
--- 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
   }