Selaa lähdekoodia

Try to fix any stig failures

Bob Mottram 8 vuotta sitten
vanhempi
commit
34f9eb9aff
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1
    1
      src/freedombone-utils-cron

+ 1
- 1
src/freedombone-utils-cron Näytä tiedosto

@@ -82,7 +82,7 @@ function schedule_stig_tests {
82 82
     echo "ADMIN_EMAIL_ADDRESS=${MY_USERNAME}@\${HOSTNAME}" >> /etc/cron.daily/stig_tests
83 83
     echo "pkill ${PROJECT_NAME}-tests" >> /etc/cron.daily/stig_tests
84 84
     echo 'rm -rf /tmp/*' >> /etc/cron.daily/stig_tests
85
-    echo "${PROJECT_NAME}-tests --stig yes 2> /tmp/daily-stig-tests" >> /etc/cron.daily/stig_tests
85
+    echo "${PROJECT_NAME}-tests --stig fix > /tmp/daily-stig-tests" >> /etc/cron.daily/stig_tests
86 86
     echo 'if [ ! "$?" = "0" ]; then' >> /etc/cron.daily/stig_tests
87 87
     echo "    echo \"\$(cat /tmp/daily-stig-tests)\" | mail -s \"${PROJECT_NAME} STIG test failures\" \$ADMIN_EMAIL_ADDRESS" >> /etc/cron.daily/stig_tests
88 88
     echo 'fi' >> /etc/cron.daily/stig_tests