doczkal / rpms / abrt

Forked from rpms/abrt 4 years ago
Clone

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

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