Date: Mon, 16 Jul 2012 08:17:30 +0000 (UTC) From: "Andrey V. Elsukov" <ae@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org Subject: svn commit: r238521 - stable/8/usr.sbin/newsyslog Message-ID: <201207160817.q6G8HUVf018840@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ae Date: Mon Jul 16 08:17:30 2012 New Revision: 238521 URL: http://svn.freebsd.org/changeset/base/238521 Log: MFC r238281: We don't need to check the result of sending signal when R flag is specified. Submitted by: Ilya A. Arkhipov Modified: stable/8/usr.sbin/newsyslog/newsyslog.c Directory Properties: stable/8/usr.sbin/newsyslog/ (props changed) Modified: stable/8/usr.sbin/newsyslog/newsyslog.c ============================================================================== --- stable/8/usr.sbin/newsyslog/newsyslog.c Mon Jul 16 08:16:41 2012 (r238520) +++ stable/8/usr.sbin/newsyslog/newsyslog.c Mon Jul 16 08:17:30 2012 (r238521) @@ -1937,7 +1937,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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201207160817.q6G8HUVf018840>