X-Git-Url: https://git.grml.org/?a=blobdiff_plain;ds=sidebyside;f=chroot-script;h=71335a56ebf3ff57488307b662ba9b34ef1c2940;hb=1a229d046e1a03bbdfa7e33da8504eef6666747f;hp=52772400046ca23ddd9f29aff4d546e7a9e068c5;hpb=dd57cf2dbf899f690630019cc10d5657a40c56f6;p=grml-debootstrap.git diff --git a/chroot-script b/chroot-script index 5277240..71335a5 100755 --- 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 {{{ -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