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) ...@@ -648,7 +648,7 @@ mu_spawnvp (const char* prog, const char* const av_[], int* stat)
648 sigaction (SIGQUIT, &savequit, NULL); 648 sigaction (SIGQUIT, &savequit, NULL);
649 sigprocmask (SIG_SETMASK, &savemask, NULL); 649 sigprocmask (SIG_SETMASK, &savemask, NULL);
650 650
651 execvp (av[0], av); 651 execvp (prog, av);
652 #ifdef HAVE__EXIT 652 #ifdef HAVE__EXIT
653 _exit (127); /* exec error */ 653 _exit (127); /* exec error */
654 #else 654 #else
......