From 4a624b2aa1a7a3e1509d0814eaf9bcfe9b67ca26 Mon Sep 17 00:00:00 2001 From: Jerome Charaoui Date: Tue, 9 Feb 2010 09:54:28 -0500 Subject: make checkbackups script ignore lost+found dir --- files/checkbackups.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'files') 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); -- cgit v1.2.3