summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-12-19 20:03:36 +0100
committerLennart Poettering <lennart@poettering.net>2014-12-19 20:03:36 +0100
commita34bf9db5da0fdd6bdb14459e203dbe41ee99614 (patch)
treefa2d06993130a6cfe463b574e6659159c2e3635f /src/core
parent358ba19e5e18304258f053e30e6120a3b6adf322 (diff)
util: rename ignore_file() to hidden_file()
hidden_file() is a bit more precise, since dot files usually shouldn't be ignored, but certainly be considered hidden.
Diffstat (limited to 'src/core')
-rw-r--r--src/core/manager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/manager.c b/src/core/manager.c
index afd911d899..9705e64da9 100644
--- a/src/core/manager.c
+++ b/src/core/manager.c
@@ -1028,7 +1028,7 @@ static void manager_build_unit_path_cache(Manager *m) {
while ((de = readdir(d))) {
char *p;
- if (ignore_file(de->d_name))
+ if (hidden_file(de->d_name))
continue;
p = strjoin(streq(*i, "/") ? "" : *i, "/", de->d_name, NULL);