improve error handling
authorPatrick Schleizer <adrelanos@whonix.org>
Sat, 21 Oct 2023 18:44:02 +0000 (14:44 -0400)
committerPatrick Schleizer <adrelanos@whonix.org>
Mon, 23 Oct 2023 12:04:49 +0000 (08:04 -0400)
commit1e27d8ed79cf72dbb999e7fb51ff0bf92a4c3383
tree147696d024189391b02939f9908a0fc49d96810b
parentc9f1699246c79bf48863e7e775bae369672f08cc
improve error handling

Enable `set -e` if environment variables `REPORT_TRAP_ERR`
or `FAIL_TRAP_ERR` are set to `yes`.

related to https://github.com/grml/grml-debootstrap/issues/224
chroot-script
grml-debootstrap