aboutsummaryrefslogtreecommitdiff
path: root/shell/ash.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/ash.c')
-rw-r--r--shell/ash.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/shell/ash.c b/shell/ash.c
index 5870a23f3..340115c35 100644
--- a/shell/ash.c
+++ b/shell/ash.c
@@ -14005,8 +14005,7 @@ spawn_forkshell(struct job *jp, struct forkshell *fs, int mode)
14005 new = forkshell_prepare(fs); 14005 new = forkshell_prepare(fs);
14006 sprintf(buf, "%x", (unsigned int)new->hMapFile); 14006 sprintf(buf, "%x", (unsigned int)new->hMapFile);
14007 argv[2] = buf; 14007 argv[2] = buf;
14008 pid = mingw_spawn_applet(P_NOWAIT, "sh", argv, 14008 pid = spawn(argv);
14009 (const char *const *)environ);
14010 CloseHandle(new->hMapFile); 14009 CloseHandle(new->hMapFile);
14011 UnmapViewOfFile(new); 14010 UnmapViewOfFile(new);
14012 if (pid == -1) { 14011 if (pid == -1) {