X-Git-Url: https://git.grml.org/?p=grml-debootstrap.git;a=blobdiff_plain;f=chroot-script;fp=chroot-script;h=6655cb35b08cb2faf56cc22565cd3a2f714ced0c;hp=5cff4847a6a6ea6810af3f211d24ee9b3753e343;hb=1e27d8ed79cf72dbb999e7fb51ff0bf92a4c3383;hpb=c9f1699246c79bf48863e7e775bae369672f08cc diff --git a/chroot-script b/chroot-script index 5cff484..6655cb3 100755 --- a/chroot-script +++ b/chroot-script @@ -11,6 +11,7 @@ # error_handler {{{ if [ "$REPORT_TRAP_ERR" = "yes" ] || [ "$FAIL_TRAP_ERR" = "yes" ]; then + set -e set -E set -o pipefail trap "error_handler" ERR