arrfab / rpms / abrt

Forked from rpms/abrt 5 years ago
Clone

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

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