commit a83f45245da5986287c5e028363837ab44bbf42d
parent a0afbbbf7345e94a6855cd01dfae0e84dbbcd05e
Author: Jacob R. Edwards <jacob@jacobedwards.org>
Date: Sun, 31 Mar 2024 13:18:07 -0700
Fix unveil
Diffstat:
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/timekeeper.c b/timekeeper.c
@@ -66,9 +66,7 @@ main(void)
[PageAbout] = pagefrag
};
- if (unveil(DataDir "/frags", "r") ||
- unveil(DataDir "/timekeeper.db", "rwc") ||
- unveil(NULL, NULL))
+ if (unveil(DataDir, "rwc") || unveil(NULL, NULL))
kutil_err(NULL, NULL, "unveil");
memset(&cfg, 0, sizeof(cfg));