Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
Diffstat (limited to 'init')
-rw-r--r--init/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/init/init.c b/init/init.c
index 9a4c9669c..79ab78fc2 100644
--- a/init/init.c
+++ b/init/init.c
@@ -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);
}