[Bug 295893] "procstat binary <pid>" returns 0 despite file not found after replacing binary
Date: Mon, 08 Jun 2026 18:40:48 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=295893
Ed Maste <emaste@freebsd.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |emaste@freebsd.org
--- Comment #2 from Ed Maste <emaste@freebsd.org> ---
> Am I wrong in assuming this can be considered a bug?
I'd say the behaviour prior to kib's patch in D57493 is indeed a bug: the
program failed but did not return an error code. With the change exit probably
should be 0: `procstat binary` does report details about the binary, and that
the path is not available.
--
You are receiving this mail because:
You are the assignee for the bug.