From 2d056ebc31231fa40b85a89f54e59c3219ced531 Mon Sep 17 00:00:00 2001 From: Martijn Dekker Date: Tue, 25 Dec 2018 20:44:51 +0000 Subject: 43945 (tweaked to remove test failure, noted in test): Fix exit statuses from wait for POSIX_BUILTINS mode. Also add tests. --- 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 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 -- cgit 1.4.1