aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xfiles/checkbackups.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/checkbackups.pl b/files/checkbackups.pl
index d68d635..4eb293f 100755
--- a/files/checkbackups.pl
+++ b/files/checkbackups.pl
@@ -60,7 +60,7 @@ sub check_rdiff {
my @vservers;
if (open(FLAG, $flag)) {
while (<FLAG>) {
- if (/StartTime ([0-9]*).[0-9]* \((.*)\)/) {
+ if (/EndTime ([0-9]*).[0-9]* \((.*)\)/) {
$last_bak = $1;
$extra_msg = ' [backup.log]';
$opt_v && print STDERR "found timestamp $1 ($2) in backup.log\n";