From: Lennart Poettering Date: Wed, 14 Oct 2015 14:24:25 +0000 (+0200) Subject: tty-ask-password-agent: don't warn if we cannot disable wall messages on the calling tty X-Git-Tag: v228~205^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2ee4e222ff4d14436c00d681c8273384dea690bf;p=thirdparty%2Fsystemd.git 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. --- 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 93cce186f06..53986babaee 100644 --- a/src/tty-ask-password-agent/tty-ask-password-agent.c +++ b/src/tty-ask-password-agent/tty-ask-password-agent.c @@ -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; }