summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-03-17 12:49:25 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2010-03-17 12:49:25 +0100
commite7f9a93381bb3021cbeabf2eb51e68b6743c07c7 (patch)
tree255c38c4c78b4837ddb437754245e587b4426af4 /lib
parentc4b61b374f84a9e6a5b62ee2c840a313eb4f0a90 (diff)
downloadabrt-e7f9a93381bb3021cbeabf2eb51e68b6743c07c7.tar.gz
abrt-e7f9a93381bb3021cbeabf2eb51e68b6743c07c7.tar.xz
abrt-e7f9a93381bb3021cbeabf2eb51e68b6743c07c7.zip
Kerneloops: fix a case when we file an oops w/o backtrace
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/Plugins/KerneloopsSysLog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Plugins/KerneloopsSysLog.cpp b/lib/Plugins/KerneloopsSysLog.cpp
index 7c605050..a5ee68b9 100644
--- a/lib/Plugins/KerneloopsSysLog.cpp
+++ b/lib/Plugins/KerneloopsSysLog.cpp
@@ -353,7 +353,7 @@ next_line:
} /* while (i < linecount) */
/* process last oops if we have one */
- if (oopsstart >= 0) {
+ if (oopsstart >= 0 && inbacktrace) {
int oopsend = i-1;
VERB3 log("End of oops at line %d (end of file): '%s'", oopsend, lines_info[oopsend].ptr);
if (record_oops(oopses, lines_info, oopsstart, oopsend))