All pastes #254374 Raw Edit

Unnamed

public text v1 · immutable
#254374 ·published 2006-11-21 20:19 UTC
rendered paste body
hook_error() {
  local ret=$?
  trap - 18
  [ $ret -ne 0 ] && {
    echo ERROR: $ret
    exit 1
  }
  trap hook_error 18
}; hook_error