Blame SOURCES/0023-oops-post-create-do-not-fail-the-event-if-check-oops.patch

b404a9
From b75653c212a0d50e163e9a550a4c4b7e650402c2 Mon Sep 17 00:00:00 2001
b404a9
From: Denys Vlasenko <dvlasenk@redhat.com>
b404a9
Date: Wed, 4 Dec 2013 13:26:35 +0100
b404a9
Subject: [ABRT PATCH 23/27] oops post-create: do not fail the event if
b404a9
 check-oops-for-hw-error exits nonzero
b404a9
b404a9
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
b404a9
b404a9
Related to rhbz#1032077
b404a9
b404a9
Signed-off-by: Jakub Filak <jfilak@redhat.com>
b404a9
---
b404a9
 src/plugins/koops_event.conf | 4 +++-
b404a9
 1 file changed, 3 insertions(+), 1 deletion(-)
b404a9
b404a9
diff --git a/src/plugins/koops_event.conf b/src/plugins/koops_event.conf
b404a9
index 3740f65..37a79a9 100644
b404a9
--- a/src/plugins/koops_event.conf
b404a9
+++ b/src/plugins/koops_event.conf
b404a9
@@ -4,7 +4,9 @@ EVENT=post-create analyzer=Kerneloops
b404a9
         abrt-action-analyze-oops &&
b404a9
         dmesg >>dmesg &&
b404a9
         abrt-action-save-kernel-data &&
b404a9
-        abrt-action-check-oops-for-hw-error
b404a9
+        # Do not fail the event (->do not delete problem dir)
b404a9
+        # if check-oops-for-hw-error exits nonzero:
b404a9
+        { abrt-action-check-oops-for-hw-error || true; }
b404a9
 
b404a9
 # If you want behavior similar to one provided by kerneloops daemon
b404a9
 # distributed by kerneloops.org - that is, if you want
b404a9
-- 
b404a9
1.8.3.1
b404a9