diff options
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -74,7 +74,7 @@ main(void) http_exit(NULL, KHTTP_500, "Data dir not configured"); /* A bit of security cannot hurt */ - if (-1 == unveil(data_dir, "r") + if (-1 == unveil(data_dir, "rwc") || -1 == unveil(TEMPLATE_DIR, "r") || -1 == unveil(NULL, NULL)) http_exit(&r, KHTTP_500, "Unveil failed: %s", strerror(errno)); |