diff options
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; |
