On Tue, Jun 11, 2019 at 8:07 PM Marc Smith <[email protected]> wrote: > Hi, > > We previously used Busybox 1.26.2 in our project and just recently > upgraded to Busybox 1.30.1. I noticed a change in the 'pidof' > behavior... previously we could give the absolute path of a running > program to 'pidof' and it would work properly (exit 0 and return PID's > of matching processes). But with 1.30.1 it seems to no longer work > this way: > [root@node-1 ~]# ps ax | grep corosync > 1648 root 0:51 /usr/sbin/corosync > > [root@node-1 ~]# pidof corosync > 1648 > [root@node-1 ~]# echo $? > 0 > > [root@node-1 ~]# pidof /usr/sbin/corosync > [root@node-1 ~]# echo $? > 1
Fixed in git. _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
