From 6052a19833d49f2f9621ee216a78657b6a2248c9 Mon Sep 17 00:00:00 2001 From: Bob Mottram <bob@freedombone.net> Date: Mon, 20 Aug 2018 10:50:48 +0100 Subject: [PATCH] Automatically fix stig tests --- src/freedombone-utils-cron | 1 + 1 file changed, 1 insertion(+) diff --git a/src/freedombone-utils-cron b/src/freedombone-utils-cron index 850ae247b..5525eaeef 100755 --- a/src/freedombone-utils-cron +++ b/src/freedombone-utils-cron @@ -84,6 +84,7 @@ function schedule_stig_tests { echo "${PROJECT_NAME}-tests --stig yes > /tmp/daily-stig-tests"; echo 'if [ ! "$?" = "0" ]; then'; echo " /bin/bash /usr/local/bin/${PROJECT_NAME}-notification -m \"\$(cat /tmp/daily-stig-tests)\" -s \"${PROJECT_NAME} STIG test failures\""; + echo " ${PROJECT_NAME}-tests --stig fix" echo 'fi'; echo 'if [ -f /tmp/daily-stig-tests ]; then'; echo ' rm /tmp/daily-stig-tests'; -- GitLab