OpenBSD: no need to read data files (logs)
One of the last changes missed this, but it is a NOOP anyway since "rpath" is not pledged any longer.master
parent
2dcadaf260
commit
788eb772c8
2
chat.c
2
chat.c
|
@ -130,7 +130,7 @@ static void parseHash(char *str) {
|
|||
static void unveilData(const char *name) {
|
||||
const char *dirs = NULL;
|
||||
for (const char *path; NULL != (path = dataPath(&dirs, name));) {
|
||||
int error = unveil(path, "rwc");
|
||||
int error = unveil(path, "wc");
|
||||
if (error && errno != ENOENT) err(EX_CANTCREAT, "%s", path);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue