summaryrefslogtreecommitdiff
path: root/src/tty-ask-password-agent
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/tty-ask-password-agent
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/tty-ask-password-agent')
-rw-r--r--src/tty-ask-password-agent/tty-ask-password-agent.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tty-ask-password-agent/tty-ask-password-agent.c b/src/tty-ask-password-agent/tty-ask-password-agent.c
index 5fc27f9ae5..b4405ce8f1 100644
--- a/src/tty-ask-password-agent/tty-ask-password-agent.c
+++ b/src/tty-ask-password-agent/tty-ask-password-agent.c
@@ -438,7 +438,7 @@ static int show_passwords(void) {
if (de->d_type != DT_REG)
continue;
- if (ignore_file(de->d_name))
+ if (hidden_file(de->d_name))
continue;
if (!startswith(de->d_name, "ask."))