From c8b51e5f274ff044ba2f9f350ead478d6c2063aa Mon Sep 17 00:00:00 2001 From: Ron Yorston Date: Wed, 2 Aug 2017 09:31:30 +0100 Subject: ash: don't reset pending_int in waitpid_child Testing on Windows 10 showed that to be a bad idea. --- shell/ash.c | 1 - 1 file changed, 1 deletion(-) (limited to 'shell') diff --git a/shell/ash.c b/shell/ash.c index b06ed18f4..62f750ca3 100644 --- a/shell/ash.c +++ b/shell/ash.c @@ -4370,7 +4370,6 @@ waitpid_child(int *status, int wait_flags) if (!idx) { /* hSIGINT */ int i; ResetEvent(hSIGINT); - pending_int = 0; for (i = 1; i < pid_nr; i++) TerminateProcess(proclist[i], 1); pid = pidlist[1]; -- cgit v1.2.3-55-g6feb