From 80be052424092b18696606b61afd6fa7d84607a5 Mon Sep 17 00:00:00 2001
From: Bob Mottram <bob@freedombone.net>
Date: Sat, 5 Aug 2017 09:56:13 +0100
Subject: [PATCH] Don't try to fix stig failures because this triggers the
 tripwire

---
 src/freedombone-utils-cron | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/freedombone-utils-cron b/src/freedombone-utils-cron
index f37feea09..13e19f55c 100755
--- a/src/freedombone-utils-cron
+++ b/src/freedombone-utils-cron
@@ -82,7 +82,7 @@ function schedule_stig_tests {
     echo "ADMIN_EMAIL_ADDRESS=${MY_USERNAME}@\${HOSTNAME}" >> /etc/cron.daily/stig_tests
     echo "pkill ${PROJECT_NAME}-tests" >> /etc/cron.daily/stig_tests
     echo 'rm -rf /tmp/*' >> /etc/cron.daily/stig_tests
-    echo "${PROJECT_NAME}-tests --stig fix > /tmp/daily-stig-tests" >> /etc/cron.daily/stig_tests
+    echo "${PROJECT_NAME}-tests --stig yes > /tmp/daily-stig-tests" >> /etc/cron.daily/stig_tests
     echo 'if [ ! "$?" = "0" ]; then' >> /etc/cron.daily/stig_tests
     echo "    echo \"\$(cat /tmp/daily-stig-tests)\" | mail -s \"${PROJECT_NAME} STIG test failures\" \$ADMIN_EMAIL_ADDRESS" >> /etc/cron.daily/stig_tests
     echo 'fi' >> /etc/cron.daily/stig_tests
-- 
GitLab