]> gitweb.fluxo.info Git - puppet-backupninja.git/commitdiff
we switched layout: only one subdir now
authorAntoine Beaupré <anarcat@koumbit.org>
Wed, 22 Apr 2015 20:52:13 +0000 (16:52 -0400)
committerAntoine Beaupré <anarcat@koumbit.org>
Wed, 22 Apr 2015 21:58:48 +0000 (17:58 -0400)
files/checkbackups.pl

index 8cef40857e9b949fd2510c337ac37b7543d45dca..50a985ca7b83f4a7b2ca6faba006c1f1fd75f161 100755 (executable)
@@ -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$//;