Date: Mon, 27 Sep 2010 15:04:21 +0400 From: Dmitry Banshchikov <ubique@peterhost.ru> To: freebsd-hackers@freebsd.org Subject: little mistake in rc.subr? Message-ID: <20100927150421.260874f0@amnesiac.pht>
index | next in thread | raw e-mail
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
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100927150421.260874f0>
