diff options
Diffstat (limited to 'threadproc/unix/proc.c')
-rw-r--r-- | threadproc/unix/proc.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/threadproc/unix/proc.c b/threadproc/unix/proc.c index ce32b09bf..5631e4c64 100644 --- a/threadproc/unix/proc.c +++ b/threadproc/unix/proc.c @@ -419,7 +419,7 @@ APR_DECLARE(apr_status_t) apr_proc_create(apr_proc_t *new, if (attr->errfn) { attr->errfn(pool, errno, "change of working directory failed"); } - exit(-1); /* We have big problems, the child should exit. */ + _exit(-1); /* We have big problems, the child should exit. */ } } @@ -429,7 +429,7 @@ APR_DECLARE(apr_status_t) apr_proc_create(apr_proc_t *new, if (attr->errfn) { attr->errfn(pool, errno, "setting of group failed"); } - exit(-1); /* We have big problems, the child should exit. */ + _exit(-1); /* We have big problems, the child should exit. */ } } @@ -438,7 +438,7 @@ APR_DECLARE(apr_status_t) apr_proc_create(apr_proc_t *new, if (attr->errfn) { attr->errfn(pool, errno, "setting of user failed"); } - exit(-1); /* We have big problems, the child should exit. */ + _exit(-1); /* We have big problems, the child should exit. */ } } @@ -446,7 +446,7 @@ APR_DECLARE(apr_status_t) apr_proc_create(apr_proc_t *new, if (attr->errfn) { attr->errfn(pool, errno, "setting of resource limits failed"); } - exit(-1); /* We have big problems, the child should exit. */ + _exit(-1); /* We have big problems, the child should exit. */ } if (attr->cmdtype == APR_SHELLCMD || @@ -538,8 +538,8 @@ APR_DECLARE(apr_status_t) apr_proc_create(apr_proc_t *new, attr->errfn(pool, errno, desc); } - exit(-1); /* if we get here, there is a problem, so exit with an - * error code. */ + _exit(-1); /* if we get here, there is a problem, so exit with an + * error code. */ } /* Parent process */ |