From: Antoine Beaupré Date: Wed, 22 Apr 2015 20:52:13 +0000 (-0400) Subject: we switched layout: only one subdir now X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=d64db527aafa4a4edc32571d1729c9118c9c7c03;p=puppet-backupninja.git we switched layout: only one subdir now --- diff --git a/files/checkbackups.pl b/files/checkbackups.pl index 8cef408..50a985c 100755 --- a/files/checkbackups.pl +++ b/files/checkbackups.pl @@ -163,7 +163,7 @@ foreach $host (@hosts) { my $flag; if (-d $dir) { # guess the backup type and find a proper stamp file to compare - @rdiffs = glob("$dir/*/*/rdiff-backup-data"); + @rdiffs = glob("$dir/*/rdiff-backup-data"); foreach $dir (@rdiffs) { $opt_v && print STDERR "inspecting dir $dir\n"; $dir =~ s/rdiff-backup-data$//;