summaryrefslogtreecommitdiff
path: root/src/tty-ask-password-agent
diff options
context:
space:
mode:
authorFranck Bui <fbui@suse.com>2019-09-16 22:03:43 +0200
committerFranck Bui <fbui@suse.com>2019-09-16 22:08:26 +0200
commit65943cc3507bf54390d598e06df60771e913fb72 (patch)
tree8f336176cde07d4148ac4a6ffbb76cdac3e24d36 /src/tty-ask-password-agent
parent77b1af585a496dd507114c29958940621c192de2 (diff)
downloadsystemd-65943cc3507bf54390d598e06df60771e913fb72.tar.gz
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.
Diffstat (limited to 'src/tty-ask-password-agent')
-rw-r--r--src/tty-ask-password-agent/tty-ask-password-agent.c2
1 files changed, 1 insertions, 1 deletions
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 5f5245e48a..d0c070de84 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,