Bob Mottram 8 лет назад
Родитель
Сommit
34f9eb9aff
1 измененных файлов: 1 добавлений и 1 удалений
  1. 1
    1
      src/freedombone-utils-cron

+ 1
- 1
src/freedombone-utils-cron Просмотреть файл

@@ -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