diff options
author | Antoine Beaupré <anarcat@koumbit.org> | 2015-04-17 17:42:47 -0400 |
---|---|---|
committer | Antoine Beaupré <anarcat@koumbit.org> | 2015-04-17 17:42:47 -0400 |
commit | 6655fa6b36a6762ef372dc124cf055934279d540 (patch) | |
tree | ab9dfaf195e8c587cbebe70a1e5c0215dc581e77 | |
parent | d56f1f0852963bb44d92917cc582a533ca27f39f (diff) | |
download | puppet-backupninja-6655fa6b36a6762ef372dc124cf055934279d540.tar.gz puppet-backupninja-6655fa6b36a6762ef372dc124cf055934279d540.tar.bz2 |
use end times for backups
-rwxr-xr-x | files/checkbackups.pl | 2 |
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"; |