aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntoine Beaupré <anarcat@koumbit.org>2015-04-17 17:42:47 -0400
committerAntoine Beaupré <anarcat@koumbit.org>2015-04-17 17:42:47 -0400
commit6655fa6b36a6762ef372dc124cf055934279d540 (patch)
treeab9dfaf195e8c587cbebe70a1e5c0215dc581e77
parentd56f1f0852963bb44d92917cc582a533ca27f39f (diff)
downloadpuppet-backupninja-6655fa6b36a6762ef372dc124cf055934279d540.tar.gz
puppet-backupninja-6655fa6b36a6762ef372dc124cf055934279d540.tar.bz2
use end times for backups
-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";