From bd1db33fb9ef740272fa4bcbdb034b134ea5e911 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 12 Nov 2010 03:42:13 +0100 Subject: [PATCH] ask-password: leave printing of final prompt colon to message --- src/ask-password-api.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ask-password-api.c b/src/ask-password-api.c index 2441df3d..e4ee8adb 100644 --- a/src/ask-password-api.c +++ b/src/ask-password-api.c @@ -76,7 +76,7 @@ int ask_password_tty( loop_write(ttyfd, "\x1B[1m", 4, false); loop_write(ttyfd, message, strlen(message), false); - loop_write(ttyfd, ": ", 2, false); + loop_write(ttyfd, " ", 1, false); loop_write(ttyfd, "\x1B[0m", 4, false); new_termios = old_termios; -- 2.39.5