summaryrefslogtreecommitdiff
path: root/src/tmpfiles.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tmpfiles.c')
-rw-r--r--src/tmpfiles.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tmpfiles.c b/src/tmpfiles.c
index 0c3b88d35b..68af37aab0 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");