mirror of
https://github.com/troglobit/finit.git
synced 2026-10-05 15:23:31 +07:00
sulogin: must fflush() prompt on Alpine Linux (musl libc)
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
@@ -166,6 +166,7 @@ int main(void)
|
||||
char *passwd;
|
||||
|
||||
printf("Give %s password for maintenance (Ctrl-D to continue): ", pw.pw_name);
|
||||
fflush(stdout);
|
||||
do {
|
||||
int ch;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user