summaryrefslogtreecommitdiffstats
path: root/initd
diff options
context:
space:
mode:
Diffstat (limited to 'initd')
-rw-r--r--initd/early.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/initd/early.c b/initd/early.c
index 77ced77..a9f6afb 100644
--- a/initd/early.c
+++ b/initd/early.c
@@ -72,6 +72,8 @@ early_console(const char *dev)
dd != STDOUT_FILENO &&
dd != STDERR_FILENO)
close(dd);
+
+ fcntl(STDERR_FILENO, F_SETFL, fcntl(STDERR_FILENO, F_GETFL) | O_NONBLOCK);
}
static void