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

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