Commit 6655fa6b authored by Antoine Beaupré's avatar Antoine Beaupré

use end times for backups

parent d56f1f08
...@@ -60,7 +60,7 @@ sub check_rdiff { ...@@ -60,7 +60,7 @@ sub check_rdiff {
my @vservers; my @vservers;
if (open(FLAG, $flag)) { if (open(FLAG, $flag)) {
while (<FLAG>) { while (<FLAG>) {
if (/StartTime ([0-9]*).[0-9]* \((.*)\)/) { if (/EndTime ([0-9]*).[0-9]* \((.*)\)/) {
$last_bak = $1; $last_bak = $1;
$extra_msg = ' [backup.log]'; $extra_msg = ' [backup.log]';
$opt_v && print STDERR "found timestamp $1 ($2) in backup.log\n"; $opt_v && print STDERR "found timestamp $1 ($2) in backup.log\n";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment