diff --git a/contrib/gcc/gcc.c b/contrib/gcc/gcc.c index 5419bd0ae2e..c40097e7ecd 100644 --- a/contrib/gcc/gcc.c +++ b/contrib/gcc/gcc.c @@ -2098,7 +2098,7 @@ pexecute (search_flag, program, argv, not_last) /* Exec the program. */ (*func) (program, argv); perror_exec (program); - exit (-1); + _exit (1); /* NOTREACHED */ return 0;