From cbf89495089406f4fdf143ee6fd1f9b974c54c36 Mon Sep 17 00:00:00 2001 From: Andrew Cady Date: Tue, 2 Mar 2021 16:13:07 -0500 Subject: Fix dynmenu restart error Thanks https://bbs.archlinux.org/viewtopic.php?id=94780 libncurses should change error string from 'unknown' to '$TERM is unset'! --- src/initrd/common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/initrd/common.sh b/src/initrd/common.sh index af144df..0f72efe 100644 --- a/src/initrd/common.sh +++ b/src/initrd/common.sh @@ -55,7 +55,7 @@ bootmenu() { local do_trigger="$1" no_panic="$2" killall dynmenu || true - if OpenVT -f -c 7 -s -- dynmenu "$MENUFIFO" + if TERM=linux OpenVT -f -c 7 -s -- dynmenu "$MENUFIFO" then chvt 7 || true clear || true -- cgit v1.2.3