rm set error

pull/1953/head
skiffer-git 2 years ago
parent b0bcbb6ece
commit 4f790aa0a1

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

Loading…
Cancel
Save