Closed jamacku closed 3 years ago
It would be nice to use pgrep instead of pidof. pgrep is reimplementation (equivalent) of pidof with better support.
In initscripts we use pidof only at one place. https://github.com/fedora-sysv/initscripts/blob/master/etc/rc.d/init.d/functions#L219-L223
Apparently bug in pidof is going to be fix, so there is no more need to use pgrep instead of pidof.
https://bugzilla.redhat.com/show_bug.cgi?id=1860486
It would be nice to use pgrep instead of pidof. pgrep is reimplementation (equivalent) of pidof with better support.
In initscripts we use pidof only at one place. https://github.com/fedora-sysv/initscripts/blob/master/etc/rc.d/init.d/functions#L219-L223