From 9201032afa0a601759557aadfd52b524675d6edc Mon Sep 17 00:00:00 2001 From: Asif Bacchus Date: Thu, 18 Oct 2018 00:50:11 -0600 Subject: [PATCH] Fixed incorrect warning variable in summary report. Removed extra colons from hash table headings. --- etc/logwatch/scripts/services/backup | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/etc/logwatch/scripts/services/backup b/etc/logwatch/scripts/services/backup index f5e5a87..8865c75 100644 --- a/etc/logwatch/scripts/services/backup +++ b/etc/logwatch/scripts/services/backup @@ -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