(mu_spawnvp): Bugfix, PROG was not used.
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -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 | ... | ... |
-
Please register or sign in to post a comment