mirror of
https://github.com/morgan9e/systemd
synced 2026-04-15 00:47:10 +09:00
ask-password: leave printing of final prompt colon to message
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user