Compare commits
2 Commits
a2b462c202
...
9201032afa
Author | SHA1 | Date |
---|---|---|
Asif Bacchus | 9201032afa | |
Asif Bacchus | 65c8bf8113 |
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue