chiark / gitweb /
ask-password: leave printing of final prompt colon to message
authorLennart Poettering <lennart@poettering.net>
Fri, 12 Nov 2010 02:42:13 +0000 (03:42 +0100)
committerLennart Poettering <lennart@poettering.net>
Fri, 12 Nov 2010 02:42:13 +0000 (03:42 +0100)
src/ask-password-api.c

index 2441df3..e4ee8ad 100644 (file)
@@ -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;