chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
networkd: explicitly enable/disable ipv6ll addresses
[elogind.git]
/
src
/
tty-ask-password-agent
/
tty-ask-password-agent.c
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 5fc27f9ae54dd50ecda5b9ba744a98fa8420ed2c..bdf651246bd0dad742e017a6c157cea0b1e45a74 100644
(file)
--- a/
src/tty-ask-password-agent/tty-ask-password-agent.c
+++ b/
src/tty-ask-password-agent/tty-ask-password-agent.c
@@
-385,7
+385,7
@@
static bool wall_tty_match(const char *path) {
_cleanup_free_ char *p = NULL;
if (!path_is_absolute(path))
_cleanup_free_ char *p = NULL;
if (!path_is_absolute(path))
- path = str
append
a("/dev/", path);
+ path = str
join
a("/dev/", path);
r = lstat(path, &st);
if (r < 0)
r = lstat(path, &st);
if (r < 0)
@@
-438,7
+438,7
@@
static int show_passwords(void) {
if (de->d_type != DT_REG)
continue;
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."))
continue;
if (!startswith(de->d_name, "ask."))