From 83b0fd36740bd78d6058be58115ff688796a922a Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Thu, 25 Mar 2004 10:07:12 +0000 Subject: 19682: Don't run ZERR, DEBUG or EXIT traps inside other traps. --- Doc/Zsh/builtins.yo | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Doc') diff --git a/Doc/Zsh/builtins.yo b/Doc/Zsh/builtins.yo index 3f6f3c450..363115297 100644 --- a/Doc/Zsh/builtins.yo +++ b/Doc/Zsh/builtins.yo @@ -1116,6 +1116,8 @@ If var(sig) is tt(0) or tt(EXIT) and the tt(trap) statement is not executed inside the body of a function, then the command var(arg) is executed when the shell terminates. +tt(ZERR), tt(DEBUG) and tt(EXIT) traps are not executed inside other traps. + The tt(trap) command with no arguments prints a list of commands associated with each signal. -- cgit 1.4.1