X-Git-Url: http://www.dolda2000.com/gitweb/?p=ashd.git;a=blobdiff_plain;f=src%2Fcallfcgi.c;h=a6d394569268fb53a8e9909e5a8697a9580627ea;hp=4a22ea7867c3b74dd9dff739e76dc4b1c2d311d5;hb=107aa2ef0fb1cc1b79d5ad832af02a2ee29a5cf8;hpb=49b8b4d22033e8d3800e08503ea689fec20e4294 diff --git a/src/callfcgi.c b/src/callfcgi.c index 4a22ea7..a6d3945 100644 --- a/src/callfcgi.c +++ b/src/callfcgi.c @@ -208,7 +208,7 @@ static void startlisten(void) close(i); execvp(*progspec, progspec); flog(LOG_ERR, "callfcgi: %s: %s", *progspec, strerror(errno)); - exit(127); + _exit(127); } close(fd); } @@ -226,13 +226,13 @@ static void startnolisten(void) close(i); if((fd = open("/dev/null", O_RDONLY)) < 0) { flog(LOG_ERR, "/dev/null: %s", strerror(errno)); - exit(127); + _exit(127); } dup2(fd, 0); close(fd); execvp(*progspec, progspec); flog(LOG_ERR, "callfcgi: %s: %s", *progspec, strerror(errno)); - exit(127); + _exit(127); } }