chiark / gitweb /
util: ignore lost+found, too
[elogind.git] / util.c
diff --git a/util.c b/util.c
index 8556ea12cd153d6899f3b98a8cc803e80b61f401..eed9aa7f84e598a5d92ed8fac733fd030ec3b695 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") ||