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

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