summaryrefslogtreecommitdiffstats
path: root/modules/metadata/mod_cern_meta.c
diff options
context:
space:
mode:
Diffstat (limited to 'modules/metadata/mod_cern_meta.c')
-rw-r--r--modules/metadata/mod_cern_meta.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/metadata/mod_cern_meta.c b/modules/metadata/mod_cern_meta.c
index 27376b6f05..f43704039c 100644
--- a/modules/metadata/mod_cern_meta.c
+++ b/modules/metadata/mod_cern_meta.c
@@ -380,7 +380,7 @@ static int add_cern_meta_data(request_rec *r)
}
ap_destroy_sub_req(rr);
- retcode = apr_file_open(&f, metafilename, APR_READ | APR_CREATE, APR_OS_DEFAULT, r->pool);
+ retcode = apr_file_open(&f, metafilename, APR_READ, APR_OS_DEFAULT, r->pool);
if (retcode != APR_SUCCESS) {
if (APR_STATUS_IS_ENOENT(retcode)) {
return DECLINED;