[systemd-commits] src/ask-password-api.c

Lennart Poettering lennart at kemper.freedesktop.org
Thu Nov 11 18:42:24 PST 2010


 src/ask-password-api.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit bd1db33fb9ef740272fa4bcbdb034b134ea5e911
Author: Lennart Poettering <lennart at poettering.net>
Date:   Fri Nov 12 03:42:13 2010 +0100

    ask-password: leave printing of final prompt colon to message

diff --git a/src/ask-password-api.c b/src/ask-password-api.c
index 2441df3..e4ee8ad 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;



More information about the systemd-commits mailing list