mirror of
https://git.proxmox.com/git/systemd
synced 2026-01-09 23:55:07 +00:00
ask-password: leave printing of final prompt colon to message
This commit is contained in:
parent
7af53310dd
commit
bd1db33fb9
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user