Commit 56da0182 authored by gsell's avatar gsell

lib/lib.bash:

- bugfix
parent 8eb34d76
......@@ -49,7 +49,7 @@ trap "std::error_handler" ERR
std::error_handler() {
local -i ec=$?
[[ typeset -F _exit >/dev/null 2>&1 ]] && _exit "${ec}"
typeset -F _exit 1>/dev/null 2>&1 && _exit "${ec}"
exit ${ec}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment