commit 8262253b1418f0824664436231a62b9e2faf517e
parent e2efd4e70b150c3c05c9479ef6155c24b42493fb
Author: Andreas Gruhler <agruhl@gmx.ch>
Date: Sun, 9 Jan 2022 14:32:13 +0100
fix(config): improve warning if missing
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/diary.c b/src/diary.c
@@ -298,7 +298,7 @@ bool read_config(const char* file_path) {
// check if config file is readable
if( access( config_file_path, R_OK ) != 0 ) {
- fprintf(stderr, "Config file '%s' not readable, skipping\n", config_file_path);
+ fprintf(stderr, "Warning - Config file '%s' missing or not readable, skipping\n", config_file_path);
return false;
}