Blob Blame Raw
From 25969e9f551cf4370c07c6406505af18d6414d17 Mon Sep 17 00:00:00 2001
From: Jakub Filak <jfilak@redhat.com>
Date: Wed, 26 Aug 2015 08:28:07 +0200
Subject: [PATCH] ccpp: do not break the reporting if a-bodhi fails

Related: rhbz#1256493

Signed-off-by: Jakub Filak <jfilak@redhat.com>
---
 src/plugins/abrt-action-analyze-ccpp-local.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/plugins/abrt-action-analyze-ccpp-local.in b/src/plugins/abrt-action-analyze-ccpp-local.in
index de131c8..5a42a03 100644
--- a/src/plugins/abrt-action-analyze-ccpp-local.in
+++ b/src/plugins/abrt-action-analyze-ccpp-local.in
@@ -39,7 +39,7 @@ if [ $? = 0 ]; then
             bug_id=$(reporter-bugzilla -h "`cat duphash`")
             if $WITH_BODHI; then
                 if test -n "$bug_id"; then
-                    abrt-bodhi -r -b $bug_id
+                    abrt-bodhi -r -b $bug_id || :
                 fi
             fi
         fi
-- 
2.5.0