Skip to content

Commit

Permalink
tty-ask-pwd-agent: fix message forwarded to wall(1)
Browse files Browse the repository at this point in the history
Commit a1c111c 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.
  • Loading branch information
fbuihuu committed Sep 16, 2019
1 parent 77b1af5 commit 65943cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tty-ask-password-agent/tty-ask-password-agent.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 65943cc

Please sign in to comment.