projects
/
systemd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
30a0554
)
coredump: gather_pid_metadata() doesn't return 1 anymore
author
Franck Bui
<fbui@suse.com>
Fri, 21 Jun 2019 13:34:01 +0000
(15:34 +0200)
committer
Franck Bui
<fbui@suse.com>
Thu, 27 Jun 2019 17:01:32 +0000
(19:01 +0200)
Since commit
92e92d71faea0f107312f296b7756cc04281ba99
, gather_pid_metadata()
returns only 0 or a negative value.
src/coredump/coredump.c
patch
|
blob
|
history
diff --git
a/src/coredump/coredump.c
b/src/coredump/coredump.c
index 4cd08724fdc38c89fef15eb7ddbb7be5906ace6e..add43e7b6f994f116206378fa6d86d55684e0439 100644
(file)
--- a/
src/coredump/coredump.c
+++ b/
src/coredump/coredump.c
@@
-1276,11
+1276,7
@@
static int process_backtrace(int argc, char *argv[]) {
r = gather_pid_metadata(context, iovec, &n_to_free);
if (r < 0)
goto finish;
- if (r > 0) {
- /* This was a special crash, and has already been processed. */
- r = 0;
- goto finish;
- }
+
n_iovec = n_to_free;
for (;;) {