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
|
### fill hash table with headings and summary counts
|
||||||
if ($summarySuccess > 0) {
|
if ($summarySuccess > 0) {
|
||||||
$reportHash{"All processes successfully completed:"} = $summarySuccess;
|
$reportHash{"All processes successfully completed"} = $summarySuccess;
|
||||||
}
|
}
|
||||||
if ($summaryWarn > 0) {
|
if ($summaryWarn > 0) {
|
||||||
$reportHash{"Warnings issued:"} = $summaryStatusUpToDate;
|
$reportHash{"Warnings issued"} = $summaryWarn;
|
||||||
}
|
}
|
||||||
if ($summaryErr > 0) {
|
if ($summaryErr > 0) {
|
||||||
$reportHash{"Errors encountered:"} = $summaryErr;
|
$reportHash{"Errors encountered"} = $summaryErr;
|
||||||
}
|
}
|
||||||
|
|
||||||
### print hash table
|
### print hash table
|
||||||
|
|
|
@ -103,8 +103,8 @@ function quit {
|
||||||
fi
|
fi
|
||||||
if [ -z "${exitError}" ]; then
|
if [ -z "${exitError}" ]; then
|
||||||
# exit cleanly
|
# exit cleanly
|
||||||
echo -e "${note}${stamp} -- ${scriptName} completed" \
|
echo -e "${note}${stamp} --- ${scriptName} completed" \
|
||||||
"--${normal}" >> "$logFile"
|
"---${normal}" >> "$logFile"
|
||||||
exit 0
|
exit 0
|
||||||
else
|
else
|
||||||
# list generated errors and explanations then exit script with code 2
|
# list generated errors and explanations then exit script with code 2
|
||||||
|
|
Loading…
Reference in New Issue