chiark / gitweb /
util: ignore lost+found, too
authorLennart Poettering <lennart@poettering.net>
Fri, 30 Apr 2010 00:16:55 +0000 (02:16 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 30 Apr 2010 00:16:55 +0000 (02:16 +0200)
util.c

diff --git a/util.c b/util.c
index 8556ea1..eed9aa7 100644 (file)
--- a/util.c
+++ b/util.c
@@ -1199,6 +1199,7 @@ bool ignore_file(const char *filename) {
 
         return
                 filename[0] == '.' ||
+                streq(filename, "lost+found") ||
                 endswith(filename, "~") ||
                 endswith(filename, ".rpmnew") ||
                 endswith(filename, ".rpmsave") ||