diff options
author | Guenter Knauf <fuankg@apache.org> | 2011-09-17 01:10:32 +0200 |
---|---|---|
committer | Guenter Knauf <fuankg@apache.org> | 2011-09-17 01:10:32 +0200 |
commit | e80ada7b52c9af4d26db0b38dcb5c78f9607676e (patch) | |
tree | 730b0241c94087321539244a743bd88c5bc62843 /modules/cluster/mod_heartmonitor.c | |
parent | Add comment that the check for empty brigade at the start of the function is (diff) | |
download | apache2-e80ada7b52c9af4d26db0b38dcb5c78f9607676e.tar.xz apache2-e80ada7b52c9af4d26db0b38dcb5c78f9607676e.zip |
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 '')
-rw-r--r-- | modules/cluster/mod_heartmonitor.c | 4 |
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); |