summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-05-25 14:21:59 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2010-05-25 14:21:59 +0200
commit199554cada64d659bd756c7fb637f2d1f6a3cf12 (patch)
treec0a15c5c479fe87234daf2296b094bff4e5b653d /lib
parentf03f8111411de6ece4a810fadacd5e019e167cfe (diff)
downloadabrt-199554cada64d659bd756c7fb637f2d1f6a3cf12.tar.gz
abrt-199554cada64d659bd756c7fb637f2d1f6a3cf12.tar.xz
abrt-199554cada64d659bd756c7fb637f2d1f6a3cf12.zip
KerneloopsSysLog.cpp: do not stop on "--- [ cut here ] ---" line
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/Plugins/KerneloopsSysLog.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/Plugins/KerneloopsSysLog.cpp b/lib/Plugins/KerneloopsSysLog.cpp
index 2dd5f804..66cce416 100644
--- a/lib/Plugins/KerneloopsSysLog.cpp
+++ b/lib/Plugins/KerneloopsSysLog.cpp
@@ -240,8 +240,10 @@ next_line:
oopsstart = i;
else if (strstr(curline, "INFO: possible recursive locking detected"))
oopsstart = i;
- else if (strstr(curline, "------------[ cut here ]------------"))
- oopsstart = i;
+ // Not needed: "--[ cut here ]--" is always followed
+ // by "Badness at", "kernel BUG at", or "WARNING: at" string
+ //else if (strstr(curline, "------------[ cut here ]------------"))
+ // oopsstart = i;
else if (strstr(curline, "list_del corruption."))
oopsstart = i;
else if (strstr(curline, "list_add corruption."))