summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
Diffstat (limited to 'init')
-rw-r--r--init2
1 files changed, 1 insertions, 1 deletions
diff --git a/init b/init
index 1f6bc4e..a1398b6 100644
--- a/init
+++ b/init
@@ -117,4 +117,4 @@ for d in proc sys dev run; do
/bin/umount /${d}
fi
done
-exec /sbin/switch_root -c /dev/console /new_root ${init} "$@"
+exec env -i TERM=$TERM /sbin/switch_root -c /dev/console /new_root ${init} "$@"