diff options
| author | tgoodwin <tgoodwin> | 1998-07-07 15:08:45 +0000 |
|---|---|---|
| committer | Toby Goodwin <toby@paccrat.org> | 2015-05-16 21:23:05 +0100 |
| commit | 75c6b4aaf091e76e31f69a14b29c1dfadd6c06f2 (patch) | |
| tree | 3579c5884b0f969081e3ea2eab9a221060175646 /exec.c | |
| parent | ae927ace641cfb8f5ab95c56b77fe6746e2ed4bf (diff) | |
use POSIX wait() macros
Diffstat (limited to 'exec.c')
| -rw-r--r-- | exec.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -118,7 +118,7 @@ extern void exec(List *s, bool parent) { prompt, even though there's a SIGINT in its signal vector. */ - if ((stat & 0xff) == 0) + if (WIFEXITED(stat)) nl_on_intr = FALSE; sigchk(); nl_on_intr = TRUE; |