mirror of
https://github.com/systemd/systemd.git
synced 2025-01-11 09:18:07 +03:00
coredump: gather_pid_metadata() doesn't return 1 anymore
Since commit 92e92d71fa
, gather_pid_metadata()
returns only 0 or a negative value.
This commit is contained in:
parent
30a0554ebd
commit
aaeb25224d
@ -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 (;;) {
|
||||
|
Loading…
Reference in New Issue
Block a user