summaryrefslogtreecommitdiff
path: root/src/sysv-generator
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/sysv-generator
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/sysv-generator')
-rw-r--r--src/sysv-generator/sysv-generator.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sysv-generator/sysv-generator.c b/src/sysv-generator/sysv-generator.c
index 45c8b4ea0f..6730843843 100644
--- a/src/sysv-generator/sysv-generator.c
+++ b/src/sysv-generator/sysv-generator.c
@@ -704,7 +704,7 @@ static int enumerate_sysv(LookupPaths lp, Hashmap *all_services) {
_cleanup_free_ char *fpath = NULL, *name = NULL;
int r;
- if (ignore_file(de->d_name))
+ if (hidden_file(de->d_name))
continue;
fpath = strjoin(*path, "/", de->d_name, NULL);
@@ -777,7 +777,7 @@ static int set_dependencies_from_rcnd(LookupPaths lp, Hashmap *all_services) {
while ((de = readdir(d))) {
int a, b;
- if (ignore_file(de->d_name))
+ if (hidden_file(de->d_name))
continue;
if (de->d_name[0] != 'S' && de->d_name[0] != 'K')