summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2014-10-06 10:39:47 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2014-10-06 10:39:47 +0800
commitda30b4b787695fbf77e5d941ff350a66ca572bcb (patch)
tree42950a7661b842fe4279bf5c28684def3c8c8fd8 /ChangeLog
parent[EVAL] Do not clobber exitstatus in evalcommand (diff)
downloaddash-da30b4b787695fbf77e5d941ff350a66ca572bcb.tar.gz
dash-da30b4b787695fbf77e5d941ff350a66ca572bcb.zip
[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>
Diffstat (limited to '')
-rw-r--r--ChangeLog4
1 files changed, 4 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 4dc8fa3..d0ec202 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2014-10-06  Herbert Xu <herbert@gondor.apana.org.au>
+
+	* Exit without arguments in a trap should use status outside traps.
+
 2014-10-03  Herbert Xu <herbert@gondor.apana.org.au>
 
 	* Do not clobber exitstatus in evalcommand.