diff options
author | Djalal Harouni <tixxdz@opendz.org> | 2017-03-06 17:25:40 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-06 17:25:40 +0100 |
commit | 81687ee3382d5a3a63f8aba1cd24b0517be1f8e4 (patch) | |
tree | bbc4398dc1f141b59365f609378a0cae411ea7df /src/basic/journal-importer.c | |
parent | 77313738fe0d656e6aa034a501b80def18a43103 (diff) | |
parent | d74dc4f2d00644c04ad9dc900ef43050fcadaa8b (diff) |
Merge pull request #5540 from keszybz/coredump-eof-fix
coredump: fix handling of premature-eof for --backtrace
Diffstat (limited to 'src/basic/journal-importer.c')
-rw-r--r-- | src/basic/journal-importer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/basic/journal-importer.c b/src/basic/journal-importer.c index 4c13e46a49..d25fd358e8 100644 --- a/src/basic/journal-importer.c +++ b/src/basic/journal-importer.c @@ -314,7 +314,7 @@ int journal_importer_process_data(JournalImporter *imp) { return r; if (r == 0) { imp->state = IMPORTER_STATE_EOF; - return r; + return 0; } assert(n > 0); assert(line[n-1] == '\n'); |