summaryrefslogtreecommitdiff
path: root/system/s6-linux-init/earlygetty.run
diff options
context:
space:
mode:
Diffstat (limited to 'system/s6-linux-init/earlygetty.run')
-rw-r--r--system/s6-linux-init/earlygetty.run2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/s6-linux-init/earlygetty.run b/system/s6-linux-init/earlygetty.run
index 5e60e7028..072fdd7d2 100644
--- a/system/s6-linux-init/earlygetty.run
+++ b/system/s6-linux-init/earlygetty.run
@@ -4,7 +4,7 @@ tty=tty2
baud=
options='-L'
-if line=`head -n 1 /run/kernel_env/earlygetty` ; then
+if line=`head -n 1 /run/kernel_env/earlygetty 2>/dev/null` ; then
tty="${line%%,*}"
bpnf="${line##*,}"
nf=