Commit 6aa04988 6aa0498854b6e064db8ee6de6c572029a52a4710 by Sergey Poznyakoff

(spawn_prog): Bugfix

1 parent 727b3c75
......@@ -478,6 +478,7 @@ spawn_prog (const char *cmdline, int *pstatus, struct run_closure *rp)
for (i = getmaxfd (); i > 2; i--)
close (i);
execvp (argv[0], argv);
exit (127);
}
free (s);
......