diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2009-12-02 09:46:12 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2009-12-02 09:46:12 +0000 |
commit | 3206b8a2eac54b75a181859cd98130c5219c3126 (patch) | |
tree | 64de96a496ae31708bf9ba59065d83a62da600fb /Src/init.c | |
parent | bc51b97d53d24e5d793d3219940de7daf60d2916 (diff) | |
download | zsh-3206b8a2eac54b75a181859cd98130c5219c3126.tar.gz zsh-3206b8a2eac54b75a181859cd98130c5219c3126.tar.xz zsh-3206b8a2eac54b75a181859cd98130c5219c3126.zip |
27442 plus tweak: wait returns status for $! even if exited
Diffstat (limited to 'Src/init.c')
-rw-r--r-- | Src/init.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Src/init.c b/Src/init.c index be1055a53..cf5a6074d 100644 --- a/Src/init.c +++ b/Src/init.c @@ -913,6 +913,7 @@ setupvals(void) bufstack = znewlinklist(); hsubl = hsubr = NULL; lastpid = 0; + lastpid_status = -1L; bshin = SHIN ? fdopen(SHIN, "r") : stdin; if (isset(SHINSTDIN) && !SHIN && unset(INTERACTIVE)) { #ifdef _IONBF |