diff options
author | Lennart Poettering <lennart@poettering.net> | 2014-12-19 20:03:36 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-12-19 20:03:36 +0100 |
commit | a34bf9db5da0fdd6bdb14459e203dbe41ee99614 (patch) | |
tree | fa2d06993130a6cfe463b574e6659159c2e3635f /src/core | |
parent | 358ba19e5e18304258f053e30e6120a3b6adf322 (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.c | 2 |
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); |