svn commit: r238281 - head/usr.sbin/newsyslog
Andrey V. Elsukov
ae at FreeBSD.org
Mon Jul 9 07:37:10 UTC 2012
Author: ae
Date: Mon Jul 9 07:37:10 2012
New Revision: 238281
URL: http://svn.freebsd.org/changeset/base/238281
Log:
We don't need to check the result of sending signal when -R option is
specified.
Submitted by: Ilya A. Arkhipov
MFC after: 1 week
Modified:
head/usr.sbin/newsyslog/newsyslog.c
Modified: head/usr.sbin/newsyslog/newsyslog.c
==============================================================================
--- head/usr.sbin/newsyslog/newsyslog.c Mon Jul 9 07:31:26 2012 (r238280)
+++ head/usr.sbin/newsyslog/newsyslog.c Mon Jul 9 07:37:10 2012 (r238281)
@@ -1972,7 +1972,8 @@ do_zipwork(struct zipwork_entry *zwork)
else
pgm_name++;
- if (zwork->zw_swork != NULL && zwork->zw_swork->sw_pidok <= 0) {
+ if (zwork->zw_swork != NULL && zwork->zw_swork->run_cmd == 0 &&
+ zwork->zw_swork->sw_pidok <= 0) {
warnx(
"log %s not compressed because daemon(s) not notified",
zwork->zw_fname);
More information about the svn-src-head
mailing list