diff options
author | Ron Yorston <rmy@pobox.com> | 2017-07-14 14:21:47 +0100 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2017-07-14 15:14:37 +0100 |
commit | ab3bdddbe4d559e4bd445679a6a7e86b44a3ccc2 (patch) | |
tree | 33b9249cee5c34af60bdb1c09fdccb1c2756df5b /shell | |
parent | ab66fc70938025262f9e163c7ecff605e27b4cf6 (diff) | |
download | busybox-w32-ab3bdddbe4d559e4bd445679a6a7e86b44a3ccc2.tar.gz busybox-w32-ab3bdddbe4d559e4bd445679a6a7e86b44a3ccc2.tar.bz2 busybox-w32-ab3bdddbe4d559e4bd445679a6a7e86b44a3ccc2.zip |
ash: fix POSIX build
Diffstat (limited to 'shell')
-rw-r--r-- | shell/ash.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/shell/ash.c b/shell/ash.c index bdbcd6987..5debd82f2 100644 --- a/shell/ash.c +++ b/shell/ash.c | |||
@@ -4461,11 +4461,11 @@ dowait(int block, struct job *job) | |||
4461 | jobno(jp), pid, ps->ps_status, status)); | 4461 | jobno(jp), pid, ps->ps_status, status)); |
4462 | ps->ps_status = status; | 4462 | ps->ps_status = status; |
4463 | thisjob = jp; | 4463 | thisjob = jp; |
4464 | if (ENABLE_PLATFORM_MINGW32) { | 4464 | #if ENABLE_PLATFORM_MINGW32 |
4465 | ps->ps_pid = -1; | 4465 | ps->ps_pid = -1; |
4466 | CloseHandle(ps->ps_proc); | 4466 | CloseHandle(ps->ps_proc); |
4467 | ps->ps_proc = NULL; | 4467 | ps->ps_proc = NULL; |
4468 | } | 4468 | #endif |
4469 | } | 4469 | } |
4470 | if (ps->ps_status == -1) | 4470 | if (ps->ps_status == -1) |
4471 | jobstate = JOBRUNNING; | 4471 | jobstate = JOBRUNNING; |