[BUILTIN] Exit without arguments in a trap should use status outside traps

POSIX now requires that exit without arguments in a trap should
return the last command status prior to executing traps.  This
patch implements this behaviour.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
5 files changed
tree: 42950a7661b842fe4279bf5c28684def3c8c8fd8
  1. src/
  2. autogen.sh
  3. ChangeLog
  4. ChangeLog.O
  5. configure.ac
  6. COPYING
  7. Makefile.am