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/shared/install.c | |
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/shared/install.c')
-rw-r--r-- | src/shared/install.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/shared/install.c b/src/shared/install.c index efbe61e874..3b065445b0 100644 --- a/src/shared/install.c +++ b/src/shared/install.c @@ -240,7 +240,7 @@ static int remove_marked_symlinks_fd( if (!de) break; - if (ignore_file(de->d_name)) + if (hidden_file(de->d_name)) continue; dirent_ensure_type(d, de); @@ -415,7 +415,7 @@ static int find_symlinks_fd( if (!de) return r; - if (ignore_file(de->d_name)) + if (hidden_file(de->d_name)) continue; dirent_ensure_type(d, de); @@ -2094,7 +2094,7 @@ int unit_file_preset_all( if (!de) break; - if (ignore_file(de->d_name)) + if (hidden_file(de->d_name)) continue; if (!unit_name_is_valid(de->d_name, TEMPLATE_VALID)) @@ -2206,7 +2206,7 @@ int unit_file_get_list( if (!de) break; - if (ignore_file(de->d_name)) + if (hidden_file(de->d_name)) continue; if (!unit_name_is_valid(de->d_name, TEMPLATE_VALID)) |