feature(LOGWATCH): Update logwatch scripts

- add trailing newlines
- update search phrases to match logfile output
This commit is contained in:
Asif Bacchus
2021-02-15 15:31:05 -07:00
parent 61e505952d
commit 7e739d96a1
3 changed files with 6 additions and 6 deletions
+4 -4
View File
@@ -3,8 +3,8 @@
#############################################################################
# $Id$
#############################################################################
# Log: Backup script (backup)
# Revision 1.0 2018/10/16
# Log: mailcow backup
# Revision 1.1 2019/07/20
# Written by Asif Bacchus
#############################################################################
@@ -34,7 +34,7 @@ if ($detailLevel == 0) {
elsif ($ThisLine =~ /\-- \[WARNING\] /) {
$summaryWarn++;
}
elsif ($ThisLine =~ /All processes completed successfully/) {
elsif ($ThisLine =~ /All processes completed/) {
$summarySuccess++;
}
}
@@ -109,4 +109,4 @@ exit (0);
# mode: perl
# perl-indent-level: 3
# indent-tabs-mode: nil
# End:
# End: