Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
proccontrol: make -s require a target
Require a command to exec or a pid to target and update usage and the manpage to make this more clear. It makes no sense to invoke a procctl(2) command on the current process only to exit. Users are sometimes confused about how proccontrol works and think it effects their shell environment when invoked without a target. Disallowing this nonsensical behavior and clarifiying usage will hopefully reduce confusion. Reviewed by: kib Differential Revision: https://reviews.freebsd.org/D46422 (cherry picked from commit 70174ef7d2c80abdfca0e3ad9d0bb1af61318542) (cherry picked from commit 5cbb98c8259c48ba22c8359f4c14f5438329ce58)
- Loading branch information