aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntoine Beaupré <anarcat@koumbit.org>2015-04-22 16:52:13 -0400
committerAntoine Beaupré <anarcat@koumbit.org>2015-04-22 17:58:48 -0400
commitd64db527aafa4a4edc32571d1729c9118c9c7c03 (patch)
treeda5c285e48b2a73d1279463278e79f199473314d
parent6468c47980d81b345c069a7e87590d595ae08d70 (diff)
downloadpuppet-backupninja-d64db527aafa4a4edc32571d1729c9118c9c7c03.tar.gz
puppet-backupninja-d64db527aafa4a4edc32571d1729c9118c9c7c03.tar.bz2
we switched layout: only one subdir now
-rwxr-xr-xfiles/checkbackups.pl2
1 files changed, 1 insertions, 1 deletions
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$//;