Diff between d50d267b6190cc4c12215e6afdcb333879d733bf and 3f6a3357544262c4530504966222d6d2df83f177

Changed Files

File Additions Deletions Status
src/main.c +2 -1 modified

Full Patch

diff --git a/src/main.c b/src/main.c
index 403fe69..7517799 100644
--- a/src/main.c
+++ b/src/main.c
@@ -90,7 +90,8 @@ static GKeyFile *load_config(const char *file)
 	g_key_file_set_list_separator(keyfile, ',');
 
 	if (!g_key_file_load_from_file(keyfile, file, 0, &err)) {
-		error("Parsing %s failed: %s", file, err->message);
+		if (!g_error_matches(err, G_FILE_ERROR, G_FILE_ERROR_NOENT))
+			error("Parsing %s failed: %s", file, err->message);
 		g_error_free(err);
 		g_key_file_free(keyfile);
 		return NULL;