projects
/
errhandle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
62aed8d
)
minor comment
author
Ian Kelling
<iank@fsf.org>
Fri, 2 Aug 2019 11:56:36 +0000
(07:56 -0400)
committer
Ian Kelling
<iank@fsf.org>
Fri, 2 Aug 2019 11:56:36 +0000
(07:56 -0400)
err
patch
|
blob
|
blame
|
history
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
}