aboutsummaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rw-r--r--shell/ash.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/shell/ash.c b/shell/ash.c
index f91cd7e1f..613bb97a0 100644
--- a/shell/ash.c
+++ b/shell/ash.c
@@ -4835,6 +4835,8 @@ waitpid_child(int *status, int wait_flags)
4835 if (idx < pid_nr) { 4835 if (idx < pid_nr) {
4836 GetExitCodeProcess(proclist[idx], &win_status); 4836 GetExitCodeProcess(proclist[idx], &win_status);
4837 *status = (int)win_status << 8; 4837 *status = (int)win_status << 8;
4838 if (win_status == 128 + SIGTERM || win_status == 128 + SIGKILL)
4839 *status += win_status - 128;
4838 pid = pidlist[idx]; 4840 pid = pidlist[idx];
4839 } 4841 }
4840 done: 4842 done: