little mistake in rc.subr?

Dmitry Banshchikov ubique at peterhost.ru
Mon Sep 27 11:20:39 UTC 2010


Hello,

In /etc/rc.subr, at line 231, there is:

if [ ! -f $_pidfile ]; then
debug "pid file ($_pidfile): not readable."
    return
fi

Is check "[ ! -r $_pidfile ]" more correct?


-- 

Dmitry Banshchikov


More information about the freebsd-hackers mailing list