summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--threadproc/unix/proc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/threadproc/unix/proc.c b/threadproc/unix/proc.c
index bf743527c..0b9c8b97b 100644
--- a/threadproc/unix/proc.c
+++ b/threadproc/unix/proc.c
@@ -355,7 +355,7 @@ APR_DECLARE(apr_status_t) apr_proc_create(apr_proc_t *new,
* caller can choose to pass full path for other
* values of cmdtype
*/
- if (access(progname, R_OK|X_OK) == -1) {
+ if (access(progname, X_OK) == -1) {
/* exec*() in child wouldn't have worked */
return errno;
}