mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-02-08 05:57:26 +03:00
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. (cherry picked from commit 65943cc3507bf54390d598e06df60771e913fb72)
This commit is contained in:
parent
1a3c53c06c
commit
eb55241742
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user