1 Bash scripts do not stop on errors when using a function with set -e, because the setting is not inherited within the function scope.
“it disables globally so it's actually in the function which is not not what I wanted right”
Encoding unit — one grounded idea