From 041057687fc1d4a2f9912fcb86e04517686b3642 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Wed, 1 Jul 2009 15:07:25 +0000 Subject: 27083: non-zero status on failures to find or execute file in "." --- Doc/Zsh/builtins.yo | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Doc/Zsh/builtins.yo') diff --git a/Doc/Zsh/builtins.yo b/Doc/Zsh/builtins.yo index 2ce9aefd1..3047b3371 100644 --- a/Doc/Zsh/builtins.yo +++ b/Doc/Zsh/builtins.yo @@ -46,7 +46,9 @@ then commands are read from that file instead of var(file). If any arguments var(arg) are given, they become the positional parameters; the old positional parameters are restored when the var(file) is done executing. -The exit status is the exit status of the last command executed. +If var(file) was not found the return status is 129; if var(file) was found +but contained a syntax error the return status is 128; else the return +status is the exit status of the last command executed. ) findex(NOTRANS(:)) cindex(expanding parameters) -- cgit 1.4.1