tags 852758 upstream fixed-upstream thankyou On Fri, Jan 27, 2017 at 2:21 PM Adrian Riordan < adrian.rior...@beyondcron.com> wrote:
> When trying kill a process with insufficient privileges (see blow), pkill > displays the error message “... failed: Operation not permitted”, but > returns 0. Surely it should return 3? Hi Adrian, Thankyou for the bug report. This is definitely inconsistent with the other kill type programs and 0 is not the right answer! 3 isn't the right either because not being able to kill something is not fatal; you may have 2 processes and can kill one and not the other. The other programs use 1 so we have used this for pkill too. The upstream commit is at https://gitlab.com/procps-ng/procps/commit/625d0809daa5b666d9f5834bebcdc458799221f3 - Craig -- Craig Small (@smallsees) http://dropbear.xyz/ csmall at : enc.com.au Debian GNU/Linux http://www.debian.org/ csmall at : debian.org GPG fingerprint: 5D2F B320 B825 D939 04D2 0519 3938 F96B DF50 FEA5