tty-ask-password-agent: don't warn if we cannot disable wall messages on the calling tty

For example, due to perm issues.

THis simply downgrades the message about it, since this is purely
cosmetical anyway.

Fixes #1543.
This commit is contained in:
Lennart Poettering
2015-10-14 16:24:25 +02:00
parent 995c5e96cd
commit 2ee4e222ff

View File

@@ -381,7 +381,7 @@ static int wall_tty_block(void) {
fd = open(p, O_RDONLY|O_CLOEXEC|O_NONBLOCK|O_NOCTTY);
if (fd < 0)
return log_error_errno(errno, "Failed to open %s: %m", p);
return log_debug_errno(errno, "Failed to open %s: %m", p);
return fd;
}