mirror of
https://github.com/troglobit/finit.git
synced 2026-10-25 12:04:36 +00:00
sulogin: must fflush() prompt on Alpine Linux (musl libc)
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
1 parent
842b522e68
commit
288105eac7
1 file changed
+1
@@ -166,6 +166,7 @@ int main(void)
|
|||||||
char *passwd;
|
char *passwd;
|
||||||
|
|
||||||
printf("Give %s password for maintenance (Ctrl-D to continue): ", pw.pw_name);
|
printf("Give %s password for maintenance (Ctrl-D to continue): ", pw.pw_name);
|
||||||
|
fflush(stdout);
|
||||||
do {
|
do {
|
||||||
int ch;
|
int ch;
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user