From 9c19aa4d3327eb5be8c4e25495ff56c46b77a0d2 Mon Sep 17 00:00:00 2001 From: Tyler Murphy Date: Wed, 12 Apr 2023 11:56:55 -0400 Subject: makefile install and uninstall, use different config path --- src/io/config.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/io') diff --git a/src/io/config.c b/src/io/config.c index bf9d96a..d6cb6c3 100644 --- a/src/io/config.c +++ b/src/io/config.c @@ -475,10 +475,11 @@ static void config_push_record(Record** buf, Record record, uint16_t* capacity, bool load_config(const char* path, RecordMap* map) { FILE* file = fopen(path, "r"); if (file == NULL) { - ERROR("Failed to open file %s: %s", path, strerror(errno)); return false; } + INFO("Using config file at path: %s", path); + line = 0; record_map_init(map); -- cgit v1.2.3-freya