summaryrefslogtreecommitdiff
path: root/src/tty-ask-password-agent.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-02-25 02:51:48 +0100
committerLennart Poettering <lennart@poettering.net>2011-02-25 02:51:48 +0100
commitc0f9c7da07fccafed646e0a15df9bc132e3fc7fb (patch)
treea7f69d7121d547670f9a02fdde9d1673f1aef244 /src/tty-ask-password-agent.c
parent6d55002a69dea3b8d941c5c4e4fce80f371060b5 (diff)
systemctl: shutdown agent explicitly so that it can reset the tty properly
Diffstat (limited to 'src/tty-ask-password-agent.c')
-rw-r--r--src/tty-ask-password-agent.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tty-ask-password-agent.c b/src/tty-ask-password-agent.c
index 5e745247e5..bedb0bc319 100644
--- a/src/tty-ask-password-agent.c
+++ b/src/tty-ask-password-agent.c
@@ -92,7 +92,7 @@ static int ask_password_plymouth(
sa.sa.sa_family = AF_UNIX;
strncpy(sa.un.sun_path+1, "/org/freedesktop/plymouthd", sizeof(sa.un.sun_path)-1);
if (connect(fd, &sa.sa, offsetof(struct sockaddr_un, sun_path) + 1 + strlen(sa.un.sun_path+1)) < 0) {
- log_error("FAILED TO CONNECT: %m");
+ log_error("Failed to connect to Plymouth: %m");
r = -errno;
goto finish;
}