Date: Mon, 21 Dec 2015 20:32:24 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 197705] Periodic configuration prints unneeded header when show_sucess="no" Message-ID: <bug-197705-8-oj1wmEYHKm@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-197705-8@https.bugs.freebsd.org/bugzilla/> References: <bug-197705-8@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197705 Jeremie Le Hen <jlh@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|freebsd-bugs@FreeBSD.org |jlh@FreeBSD.org CC| |jlh@FreeBSD.org --- Comment #1 from Jeremie Le Hen <jlh@FreeBSD.org> --- Hi Frank, This is not straightforward to do so because as you can see on the URL below this message is printed before calling periodic(8) again for security: https://svnweb.freebsd.org/base/head/etc/periodic/daily/450.status-security?view=markup So there are two solutions: 1. remove this message altogether; this is problematic if the security output is inlined 2. print only this message if there is any output from periodic security; but this requires to bufferize the whole output and then print the caption only if the output is not empty I would favor 2 but it's a bit hackish and heavyweight for the purpose. Let this bug bake a bit to see if others have some input. -- You are receiving this mail because: You are the assignee for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-197705-8-oj1wmEYHKm>