dsa-check-backuppg: Ignore lost+found directory
[mirror/dsa-nagios.git] / dsa-nagios-checks / checks / dsa-check-backuppg
index 13e935e..73ac35c 100755 (executable)
@@ -162,7 +162,7 @@ config = load_conf(options.conffile)
 
 os.chdir(config['rootdir'])
 for dir in os.listdir('.'):
-    if dir.startswith('.') or dir.endswith('.old'):
+    if dir.startswith('.') or dir.endswith('.old') or dir == 'lost+found':
         note_info('IGNORED', dir)
         continue