]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC r233392, r233679:
authortrociny <trociny@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 14 Apr 2012 17:35:59 +0000 (17:35 +0000)
committertrociny <trociny@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 14 Apr 2012 17:35:59 +0000 (17:35 +0000)
commit7d50c347d6f68cf534ebc3d6662a855cc082effd
tree5344f91002cd95887fc6d6980898cbf81fb625eb
parent99e672c194dd2cab942b25ad2886c5e703db0484
MFC r233392, r233679:

r233392:

Fix typo.

r233679:

If hastd is invoked with "-P pidfile" option always create pidfile
regardless of whether -F (foreground) option is set or not.

Also, if -P option is specified, ignore pidfile setting from configuration
not only on start but on reload too. This fixes the issue when for hastd
run with -P option reload caused the pidfile change.

Reviewed by: pjd

git-svn-id: svn://svn.freebsd.org/base/stable/8@234295 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sbin/hastd/hastd.c
sbin/hastd/nv.c