rm set error

This commit is contained in:
skiffer-git 2024-02-22 18:20:56 +08:00
parent b0bcbb6ece
commit 4f790aa0a1

View File

@ -76,11 +76,11 @@ openim::log::errexit() {
openim::log::install_errexit() {
# trap ERR to provide an error handler whenever a command exits nonzero this
# is a more verbose version of
trap 'openim::log::errexit' ERR
# trap 'openim::log::errexit' ERR
# setting errtrace allows our ERR trap handler to be propagated to functions,
# expansions and subshells
set -o errtrace
#set -o errtrace
}
# Print out the stack trace