X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Ftmpfiles.c;h=68af37aab0eb43f27edb0fb3062a0ff08cbebb3d;hp=0c3b88d35b19a1aaf56247802e95b88665911c7c;hb=b925e72633bf98438f56a140520e07ec8c959e46;hpb=35b8ca3aaf8cb044ad76675dfcad89e000dd4a5c diff --git a/src/tmpfiles.c b/src/tmpfiles.c index 0c3b88d35..68af37aab 100644 --- a/src/tmpfiles.c +++ b/src/tmpfiles.c @@ -775,7 +775,8 @@ static int scandir_filter(const struct dirent *d) { return 0; if (d->d_type != DT_REG && - d->d_type != DT_LNK) + d->d_type != DT_LNK && + d->d_type != DT_UNKNOWN) return 0; return endswith(d->d_name, ".conf");