×
Close
The permissions on this repository are being updated. This may take a while.
During this time, you or some of the project's contributors may not be able
to push to this repository.
Blame SOURCES/0011-applet-don-t-notify-missing-ignored_problems-file.patch
Branch: 800d313d89fbc4adcb009a9b434530ec25de1b4c
b404a9
From 85913f428fc4195dc26e1789c44985be718b2c7a Mon Sep 17 00:00:00 2001
b404a9
From: Jakub Filak <jfilak@redhat.com>
b404a9
Date: Thu, 16 Jan 2014 10:54:27 +0100
b404a9
Subject: [ABRT PATCH 11/12] applet: don't notify missing ignored_problems file
b404a9
b404a9
Closes rhbz#1054291
b404a9
b404a9
Signed-off-by: Jakub Filak <jfilak@redhat.com>
b404a9
---
b404a9
src/lib/ignored_problems.c | 3 ++-
b404a9
1 file changed, 2 insertions(+), 1 deletion(-)
b404a9
b404a9
diff --git a/src/lib/ignored_problems.c b/src/lib/ignored_problems.c
b404a9
index 7ea84b4..df138d8 100644
b404a9
--- a/src/lib/ignored_problems.c
b404a9
+++ b/src/lib/ignored_problems.c
b404a9
@@ -97,7 +97,8 @@ static bool ignored_problems_file_contains(ignored_problems_t *set,
b404a9
FILE *fp = fopen(set->ign_set_file_path, mode);
b404a9
if (!fp)
b404a9
{
b404a9
- pwarn_msg("Can't open ignored problems '%s' in mode '%s'", set->ign_set_file_path, mode);
b404a9
+ if (errno != ENOENT)
b404a9
+ pwarn_msg("Can't open ignored problems '%s' in mode '%s'", set->ign_set_file_path, mode);
b404a9
goto ret_contains_end;
b404a9
}
b404a9
b404a9
--
b404a9
1.8.3.1
b404a9