diff options
| -rw-r--r-- | xdg.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| @@ -118,7 +118,7 @@ void dataMkdir(const char *path) {  	const char *dirs = NULL;  	path = dataPath(&dirs, path);  	int error = mkdir(path, S_IRWXU); -	if (error && errno != EEXIST) warn("%s", path); +	if (error && errno != EEXIST) err(EX_CANTCREAT, "%s", path);  }  FILE *dataOpen(const char *path, const char *mode) { | 
