diff options
author | Jerome Charaoui <jcharaoui@cmaisonneuve.qc.ca> | 2010-02-09 09:54:28 -0500 |
---|---|---|
committer | Jerome Charaoui <jcharaoui@cmaisonneuve.qc.ca> | 2011-10-12 15:14:56 -0400 |
commit | 4a624b2aa1a7a3e1509d0814eaf9bcfe9b67ca26 (patch) | |
tree | a04adb245186015148bdf6eab396aadca7c14971 | |
parent | 008b69a7b767899f7849607d3d12aff0aa51b264 (diff) | |
download | puppet-backupninja-4a624b2aa1a7a3e1509d0814eaf9bcfe9b67ca26.tar.gz puppet-backupninja-4a624b2aa1a7a3e1509d0814eaf9bcfe9b67ca26.tar.bz2 |
make checkbackups script ignore lost+found dir
-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 80fc07f..dba2b4a 100755 --- a/files/checkbackups.pl +++ b/files/checkbackups.pl @@ -61,7 +61,7 @@ if (defined($opt_o)) { @hosts=qx{hostname -f}; } else { # XXX: this should be a complete backup registry instead - @hosts=qx{ls $backupdir}; + @hosts=qx{ls $backupdir | grep -v lost+found}; } chdir($backupdir); |