]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC r202668+r200806:
authordelphij <delphij@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 3 Feb 2010 18:42:14 +0000 (18:42 +0000)
committerdelphij <delphij@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 3 Feb 2010 18:42:14 +0000 (18:42 +0000)
commited036ccbff7a014ec5e9c83e60dbc1bac9354267
treec9982bd82f7bdb7467a9d9c1b70e402b82a3650c
parentf394f84d2d0c4c198f6df88c5d064448d16b325c
MFC r202668+r200806:

Don't consider non-existence of a PID file an error, we should be able
to proceed anyway as this most likely mean that the process has been
terminated. [1]

Add a new option, -P, which reverts newsyslog(8) to the old behavior,
which stops to proceed further, as it is possible that processes which
fails to create PID file get screwed by rotation. [2]

PR: bin/140397
Submitted by: Dan Lukes [1]
Requested by: stas [2]

git-svn-id: svn://svn.freebsd.org/base/stable/8@203436 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
usr.sbin/newsyslog/newsyslog.8
usr.sbin/newsyslog/newsyslog.c