]> granicus.if.org Git - strace/commit
ptrace_restart: do not print diagnostics when ptrace returns ESRCH
authorEugene Syromyatnikov <evgsyr@gmail.com>
Sun, 10 Feb 2019 23:57:38 +0000 (00:57 +0100)
committerDmitry V. Levin <ldv@altlinux.org>
Mon, 11 Feb 2019 10:49:50 +0000 (10:49 +0000)
commite0632590bdc041ef937ecf0491d6cd1504dec36f
tree466b554361ebc1e5a04ac459a23e8c30dbb928a4
parent4bdfb2f2f58e90ddde8144c740882f393b341026
ptrace_restart: do not print diagnostics when ptrace returns ESRCH

After some discussion, it was decided that the situation
when the tracee is gone does not worth reporting.

* strace.c (ptrace_restart): Return early if ptrace returned ESRCH.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1662936
strace.c