diff options
-rw-r--r-- | src/shared/unit-file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/unit-file.c b/src/shared/unit-file.c index e15ce26940..b9b5268d0a 100644 --- a/src/shared/unit-file.c +++ b/src/shared/unit-file.c @@ -242,7 +242,7 @@ int unit_file_build_name_map( if (!lookup_paths_mtime_exclude(lp, *dir)) mtime = MAX(mtime, timespec_load(&st.st_mtim)); - 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; _cleanup_free_ char *_filename_free = NULL, *simplified = NULL; const char *suffix, *dst = NULL; |