summaryrefslogtreecommitdiffstats
path: root/src/Daemon
diff options
context:
space:
mode:
authorJiri Moskovcak <jmoskovc@redhat.com>2009-11-03 13:23:59 +0100
committerJiri Moskovcak <jmoskovc@redhat.com>2009-11-03 13:23:59 +0100
commitf0c62e1ba5b1e7b79c2ac1bbee4e965b210349f2 (patch)
treeaf219000a1639bf6ed01ba8cf661c1b1eb19a2e7 /src/Daemon
parent12156c5e95c8bdff6dbc422180ac24e7f259c0a2 (diff)
downloadabrt-f0c62e1ba5b1e7b79c2ac1bbee4e965b210349f2.tar.gz
abrt-f0c62e1ba5b1e7b79c2ac1bbee4e965b210349f2.tar.xz
abrt-f0c62e1ba5b1e7b79c2ac1bbee4e965b210349f2.zip
make the CheckReport() to ignore kerneloopses
Diffstat (limited to 'src/Daemon')
-rw-r--r--src/Daemon/MiddleWare.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Daemon/MiddleWare.cpp b/src/Daemon/MiddleWare.cpp
index e85ac2c0..e30a0048 100644
--- a/src/Daemon/MiddleWare.cpp
+++ b/src/Daemon/MiddleWare.cpp
@@ -315,6 +315,11 @@ static bool CheckReport(const map_crash_report_t& pCrashReport)
map_crash_report_t::const_iterator it_executable = pCrashReport.find(FILENAME_EXECUTABLE);
map_crash_report_t::const_iterator end = pCrashReport.end();
+
+ // FIXME: bypass the test if it's kerneloops
+ if(it_package->second[CD_CONTENT] == "kernel")
+ return true;
+
if (it_analyzer == end || it_mwuid == end ||
it_mwuuid == end || it_package == end ||
it_architecture == end || it_kernel == end ||