[PATCH] killall5: return 2 if no processes got killed

Denys Vlasenko vda.linux at googlemail.com
Mon Dec 16 16:47:18 UTC 2013


On Fri, Dec 13, 2013 at 7:40 PM, Uros Vampl <mobile.leecher at gmail.com> wrote:
> This matches killall5 from sysvinit. From its manpage:
>
> EXIT STATUS
>        The program return zero if it killed processes. It return 2 if
>        no process were killed, and 1 if it was unable to find any
>        processes (/proc/ is missing).
>
> For this to work kernel processes need to be filtered out, this patch
> does that as well

Applied, thanks!


More information about the busybox mailing list