chiark / gitweb /
ask-password: leave printing of final prompt colon to message
[elogind.git] / 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;