Compare commits

...

2 Commits

Author SHA1 Message Date
Asif Bacchus 9201032afa Fixed incorrect warning variable in summary report.
Removed extra colons from hash table headings.
2018-10-18 00:50:11 -06:00
Asif Bacchus 65c8bf8113 Formatting change to end of script log entry 2018-10-18 00:48:57 -06:00
2 changed files with 5 additions and 5 deletions

View File

@ -41,13 +41,13 @@ if ($detailLevel == 0) {
### fill hash table with headings and summary counts
if ($summarySuccess > 0) {
$reportHash{"All processes successfully completed:"} = $summarySuccess;
$reportHash{"All processes successfully completed"} = $summarySuccess;
}
if ($summaryWarn > 0) {
$reportHash{"Warnings issued:"} = $summaryStatusUpToDate;
$reportHash{"Warnings issued"} = $summaryWarn;
}
if ($summaryErr > 0) {
$reportHash{"Errors encountered:"} = $summaryErr;
$reportHash{"Errors encountered"} = $summaryErr;
}
### print hash table

View File

@ -103,8 +103,8 @@ function quit {
fi
if [ -z "${exitError}" ]; then
# exit cleanly
echo -e "${note}${stamp} -- ${scriptName} completed" \
"--${normal}" >> "$logFile"
echo -e "${note}${stamp} --- ${scriptName} completed" \
"---${normal}" >> "$logFile"
exit 0
else
# list generated errors and explanations then exit script with code 2