From: Franck Bui Date: Mon, 16 Sep 2019 20:03:43 +0000 (+0200) Subject: tty-ask-pwd-agent: fix message forwarded to wall(1) X-Git-Tag: v244-rc1~289^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=65943cc3507bf54390d598e06df60771e913fb72;p=thirdparty%2Fsystemd.git tty-ask-pwd-agent: fix message forwarded to wall(1) Commit a1c111c2d12429d2 wrongly replaced '!' with ':' when the message is forwarded to wall(1). Indeed in this case we are not requesting the user for providing a password but instead we are simply displaying a message to suggest starting tty-ask-password-agent for providing the password. --- 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 5f5245e48a3..d0c070de84a 100644 --- a/src/tty-ask-password-agent/tty-ask-password-agent.c +++ b/src/tty-ask-password-agent/tty-ask-password-agent.c @@ -322,7 +322,7 @@ static int parse_password(const char *filename, char **wall) { if (asprintf(&_wall, "%s%sPassword entry required for \'%s\' (PID %u).\r\n" - "Please enter password with the systemd-tty-ask-password-agent tool:", + "Please enter password with the systemd-tty-ask-password-agent tool.", strempty(*wall), *wall ? "\r\n\r\n" : "", message,