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:
Franck Bui
2019-06-27 19:01:32 +02:00
parent 30a0554ebd
commit aaeb25224d
+1 -5
View File
@@ -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 (;;) {