Commit f76b6560 f76b656090b0227675461f78d3393673f26d8c86 by Sergey Poznyakoff

(mu_spawnvp): Bugfix, PROG was not used.

1 parent 8bd664aa
......@@ -648,7 +648,7 @@ mu_spawnvp (const char* prog, const char* const av_[], int* stat)
sigaction (SIGQUIT, &savequit, NULL);
sigprocmask (SIG_SETMASK, &savemask, NULL);
execvp (av[0], av);
execvp (prog, av);
#ifdef HAVE__EXIT
_exit (127); /* exec error */
#else
......