]> err.no Git - systemd/commitdiff
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 2441df3d24d35767584419bbbeaf4d42bcfc1830..e4ee8adb4f51aa3a3bcf8c03a94a0dc440f24673 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;