I committed the fflush in the wrong spot. I should go to bed
earlier so I don't screw up such easy stuff. -Erik
This commit is contained in:
parent
f6f7bfb8e0
commit
f02c26f1ef
@ -627,8 +627,8 @@ static pid_t run(struct init_action *a)
|
||||
messageND(LOG,
|
||||
"Waiting for enter to start '%s' (pid %d, terminal %s)\n",
|
||||
cmdpath, getpid(), a->terminal);
|
||||
write(fileno(stdout), press_enter, sizeof(press_enter) - 1);
|
||||
fflush(stdout);
|
||||
write(fileno(stdout), press_enter, sizeof(press_enter) - 1);
|
||||
getc(stdin);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user