summary refs log tree commit diff
path: root/Doc/Zsh
diff options
context:
space:
mode:
authorMartijn Dekker <martijn@inlv.org>2018-12-25 20:44:51 +0000
committerPeter Stephenson <p.w.stephenson@ntlworld.com>2018-12-30 18:11:43 +0000
commit2d056ebc31231fa40b85a89f54e59c3219ced531 (patch)
tree43ad4a9c8ab06ca511a6d9b6a15bee3150b39304 /Doc/Zsh
parent4215fcb1075f4608cf039ae9b593b07580060a70 (diff)
downloadzsh-2d056ebc31231fa40b85a89f54e59c3219ced531.tar.gz
zsh-2d056ebc31231fa40b85a89f54e59c3219ced531.tar.xz
zsh-2d056ebc31231fa40b85a89f54e59c3219ced531.zip
43945 (tweaked to remove test failure, noted in test):
Fix exit statuses from wait for POSIX_BUILTINS mode.
Also add tests.
Diffstat (limited to 'Doc/Zsh')
-rw-r--r--Doc/Zsh/builtins.yo2
1 files changed, 2 insertions, 0 deletions
diff --git a/Doc/Zsh/builtins.yo b/Doc/Zsh/builtins.yo
index fd29ca3a5..cc9832379 100644
--- a/Doc/Zsh/builtins.yo
+++ b/Doc/Zsh/builtins.yo
@@ -2362,6 +2362,8 @@ then all currently active child processes are waited for.
 Each var(job) can be either a job specification or the process ID
 of a job in the job table.
 The exit status from this command is that of the job waited for.
+If var(job) represents an unknown job or process ID, a warning is printed
+(unless the tt(POSIX_BUILTINS) option is set) and the exit status is 127.
 
 It is possible to wait for recent processes (specified by process ID,
 not by job) that were running in the background even if the process has