From da30b4b787695fbf77e5d941ff350a66ca572bcb Mon Sep 17 00:00:00 2001 From: Herbert Xu Date: Mon, 6 Oct 2014 10:39:47 +0800 Subject: [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 --- ChangeLog | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 4dc8fa3..d0ec202 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2014-10-06 Herbert Xu + + * Exit without arguments in a trap should use status outside traps. + 2014-10-03 Herbert Xu * Do not clobber exitstatus in evalcommand. -- cgit 1.4.1