feature(LOGWATCH): Update logwatch scripts
- add trailing newlines - update search phrases to match logfile output
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user