summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAnita Zhang <the.anitazha@gmail.com>2021-09-28 23:52:39 -0700
committerLennart Poettering <lennart@poettering.net>2021-09-29 14:42:13 +0200
commit14bb72953458caace048b55ead7ea06a592b864f (patch)
tree491684b6d99ac83bb9f1cb8362f352dd9d4f89aa /src
parente30a3ba16a5da4b46cd6c8bc363dbccb791fc45e (diff)
downloadsystemd-14bb72953458caace048b55ead7ea06a592b864f.tar.gz
basic/unit-file: don't filter out names starting with dot
Fixes #20859 Reverts 3796bdc55d6ba499d1049f749072218879e619a7
Diffstat (limited to 'src')
-rw-r--r--src/basic/unit-file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/basic/unit-file.c b/src/basic/unit-file.c
index 618cf8b489..d1e997ec9f 100644
--- a/src/basic/unit-file.c
+++ b/src/basic/unit-file.c
@@ -284,7 +284,7 @@ int unit_file_build_name_map(
continue;
}
- FOREACH_DIRENT(de, d, log_warning_errno(errno, "Failed to read \"%s\", ignoring: %m", *dir)) {
+ FOREACH_DIRENT_ALL(de, d, log_warning_errno(errno, "Failed to read \"%s\", ignoring: %m", *dir)) {
char *filename;
_unused_ _cleanup_free_ char *_filename_free = NULL;
_cleanup_free_ char *simplified = NULL;