summaryrefslogtreecommitdiff
path: root/modules/cluster
diff options
context:
space:
mode:
authorGuenter Knauf <fuankg@apache.org>2011-09-16 23:10:32 +0000
committerGuenter Knauf <fuankg@apache.org>2011-09-16 23:10:32 +0000
commite80ada7b52c9af4d26db0b38dcb5c78f9607676e (patch)
tree730b0241c94087321539244a743bd88c5bc62843 /modules/cluster
parent6ea465f3ba6c57671d82a4f6e03521887cc25edd (diff)
downloadhttpd-e80ada7b52c9af4d26db0b38dcb5c78f9607676e.tar.gz
Continue if the platform doesnt support file perms.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1171847 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/cluster')
-rw-r--r--modules/cluster/mod_heartmonitor.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/cluster/mod_heartmonitor.c b/modules/cluster/mod_heartmonitor.c
index 1ec1dc803c..39e7bcbc88 100644
--- a/modules/cluster/mod_heartmonitor.c
+++ b/modules/cluster/mod_heartmonitor.c
@@ -365,7 +365,7 @@ static apr_status_t hm_file_update_stat(hm_ctx_t *ctx, hm_server_t *s, apr_pool_
rv = apr_file_perms_set(path,
APR_FPROT_UREAD | APR_FPROT_GREAD |
APR_FPROT_WREAD);
- if (rv && rv != APR_INCOMPLETE) {
+ if (rv && rv != APR_INCOMPLETE && rv != APR_ENOTIMPL) {
ap_log_error(APLOG_MARK, APLOG_CRIT, rv, ctx->s,
"Heartmonitor: Unable to set file permssions on %s",
path);
@@ -444,7 +444,7 @@ static apr_status_t hm_file_update_stats(hm_ctx_t *ctx, apr_pool_t *p)
rv = apr_file_perms_set(path,
APR_FPROT_UREAD | APR_FPROT_GREAD |
APR_FPROT_WREAD);
- if (rv && rv != APR_INCOMPLETE) {
+ if (rv && rv != APR_INCOMPLETE && rv != APR_ENOTIMPL) {
ap_log_error(APLOG_MARK, APLOG_CRIT, rv, ctx->s,
"Heartmonitor: Unable to set file permssions on %s",
path);