Blame SOURCES/0011-applet-don-t-notify-missing-ignored_problems-file.patch

06486d
From 85913f428fc4195dc26e1789c44985be718b2c7a Mon Sep 17 00:00:00 2001
06486d
From: Jakub Filak <jfilak@redhat.com>
06486d
Date: Thu, 16 Jan 2014 10:54:27 +0100
06486d
Subject: [ABRT PATCH 11/12] applet: don't notify missing ignored_problems file
06486d
06486d
Closes rhbz#1054291
06486d
06486d
Signed-off-by: Jakub Filak <jfilak@redhat.com>
06486d
---
06486d
 src/lib/ignored_problems.c | 3 ++-
06486d
 1 file changed, 2 insertions(+), 1 deletion(-)
06486d
06486d
diff --git a/src/lib/ignored_problems.c b/src/lib/ignored_problems.c
06486d
index 7ea84b4..df138d8 100644
06486d
--- a/src/lib/ignored_problems.c
06486d
+++ b/src/lib/ignored_problems.c
06486d
@@ -97,7 +97,8 @@ static bool ignored_problems_file_contains(ignored_problems_t *set,
06486d
     FILE *fp = fopen(set->ign_set_file_path, mode);
06486d
     if (!fp)
06486d
     {
06486d
-        pwarn_msg("Can't open ignored problems '%s' in mode '%s'", set->ign_set_file_path, mode);
06486d
+        if (errno != ENOENT)
06486d
+            pwarn_msg("Can't open ignored problems '%s' in mode '%s'", set->ign_set_file_path, mode);
06486d
         goto ret_contains_end;
06486d
     }
06486d
 
06486d
-- 
06486d
1.8.3.1
06486d