Diff between 02a292ad2b86f581644f038dd1216fb544294215 and 337864d65bb519dc869eca4c0d2d5e3010a4d5f4

Changed Files

File Additions Deletions Status
profiles/input/manager.c +2 -1 modified

Full Patch

diff --git a/profiles/input/manager.c b/profiles/input/manager.c
index 622e24b..145f8a0 100644
--- a/profiles/input/manager.c
+++ b/profiles/input/manager.c
@@ -119,7 +119,8 @@ static GKeyFile *load_config_file(const char *file)
 	keyfile = g_key_file_new();
 
 	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;