This commit is contained in:
Ryan Prather 2019-01-17 13:17:07 -05:00
parent 91a00ba892
commit cf5e8237c7
No known key found for this signature in database
GPG Key ID: 66FDE2B4E8AB87A7

View File

@ -696,6 +696,7 @@ $db->set_Setting('stig-count', $stig_count);
$end = new DateTime(); $end = new DateTime();
$diff = $end->diff($start); $diff = $end->diff($start);
$total = $new_count + $updated_count;
print <<<EOO print <<<EOO
@ -705,7 +706,10 @@ Execution time: {$diff->format("%H:%I:%S")}
New STIGs: $new_count New STIGs: $new_count
Updated STIGs: $updated_count Updated STIGs: $updated_count
Total STIGs: ($new_count + $updated_count) Total STIGs: $total
EOO;
$log->script_log("$groups->length complete"); $log->script_log("$groups->length complete");
fclose($csv); fclose($csv);