diff options
Diffstat (limited to 'cron-sh')
-rwxr-xr-x | cron-sh/scripts/06_sectool.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cron-sh/scripts/06_sectool.sh b/cron-sh/scripts/06_sectool.sh index 0617bd8..6888e17 100755 --- a/cron-sh/scripts/06_sectool.sh +++ b/cron-sh/scripts/06_sectool.sh @@ -28,6 +28,10 @@ if check_is_enabled "${CHECK_SECTOOL}" ; then fi sectool $sectool_params > ${SECTOOL_TODAY} Filter ${SECTOOL_TODAY} CHECK_SECTOOL + if [[ -s ${SECTOOL_TODAY} ]]; then + printf "\nSectool report:\n" >> ${SECURITY} + cat ${SECTOOL_TODAY} >> ${SECURITY} + fi Diffcheck ${SECTOOL_TODAY} ${SECTOOL_YESTERDAY} ${SECTOOL_DIFF} "sectool results" else printf "\nSectool check skipped: sectool not found" >> ${SECURITY} |