projects
/
grml-debootstrap.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
enable error handler by default
[grml-debootstrap.git]
/
chroot-script
diff --git
a/chroot-script
b/chroot-script
index
5277240
..
71335a5
100755
(executable)
--- a/
chroot-script
+++ b/
chroot-script
@@
-11,12
+11,10
@@
# shellcheck disable=SC2317 # shellcheck has trouble understanding the code flow in this file
# error_handler {{{
# shellcheck disable=SC2317 # shellcheck has trouble understanding the code flow in this file
# error_handler {{{
-if [ "$REPORT_TRAP_ERR" = "yes" ] || [ "$FAIL_TRAP_ERR" = "yes" ]; then
- set -e
- set -E
- set -o pipefail
- trap "error_handler" ERR
-fi
+set -e
+set -E
+set -o pipefail
+trap "error_handler" ERR
# }}}
# shellcheck source=config
# }}}
# shellcheck source=config