diff options
| author | Klemens Nanni | 2021-06-12 23:38:37 +0000 | 
|---|---|---|
| committer | C. McEnroe | 2021-06-13 14:02:59 -0400 | 
| commit | 788eb772c8aa599a4e22ca594beafba4046160e4 (patch) | |
| tree | 14326bd13e8097d8a658ec47a627bfd5d6b423d0 | |
| parent | 2dcadaf26042eef1ec01473f930bae40ecdaa993 (diff) | |
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.
| -rw-r--r-- | chat.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| @@ -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);  	}  } | 
