Alan Somers e2a212c1fb Quiet 450.status-security when *_inline="YES"
Previously, 450.status-security would always set rc=3 in inline mode,
because it doesn't know whether "periodic security" is going to find
anything interesting. But this annoyingly results in daily reports that
simply say "Security check: \n\n-- End of daily output --".

This change fixes that by testing whether "periodic security" printed
anything, and setting 450.status-security's exit status to 3 if it did. An
alternative would be to change the exit status of periodic(8) to be the
worst of its scripts' exit statuses, but that would be a more intrusive
change.

Reviewed by:	brian
MFC after:	3 weeks
Differential Revision:	https://reviews.freebsd.org/D10267
2017-04-06 01:37:03 +00:00
..
2016-01-21 17:33:31 +00:00
2017-03-12 18:58:55 +00:00
2016-01-27 06:28:56 +00:00
2017-03-12 18:58:55 +00:00
2014-03-14 02:58:48 +00:00
2013-12-03 04:32:02 +00:00
2016-05-01 16:43:22 +00:00
rc
2016-10-23 18:00:09 +00:00
2016-05-01 16:43:22 +00:00
rpc