summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/spawn.cc
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/spawn.cc')
-rw-r--r--winsup/cygwin/spawn.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/winsup/cygwin/spawn.cc b/winsup/cygwin/spawn.cc
index 7f6231e14..992bad1ab 100644
--- a/winsup/cygwin/spawn.cc
+++ b/winsup/cygwin/spawn.cc
@@ -745,7 +745,7 @@ spawn_guts (const char * prog_arg, const char *const *argv,
(void) sigprocmask (SIG_BLOCK, &child_block, &cleanup.oldmask);
}
- /* Fixup the parent datastructure if needed and resume the child's
+ /* Fixup the parent data structures if needed and resume the child's
main thread. */
if (!cygheap->fdtab.need_fixup_before ())
cygheap_setup_for_child_cleanup (newheap, &ciresrv, 0);
@@ -908,7 +908,6 @@ spawn_guts (const char * prog_arg, const char *const *argv,
{
case _P_OVERLAY:
ForceCloseHandle1 (pi.hProcess, childhProc);
- proc_terminate ();
myself->exit (res, 1);
break;
case _P_WAIT: