From a9a844285750c9e0208949e17acdf0236c307435 Mon Sep 17 00:00:00 2001 From: Bernhard Landauer Date: Sun, 5 Mar 2017 12:36:54 +0100 Subject: [PATCH] fix setup_graphics_card cancel --- lib/util-base.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/util-base.sh b/lib/util-base.sh index 5082fa9..8560ba4 100644 --- a/lib/util-base.sh +++ b/lib/util-base.sh @@ -534,7 +534,7 @@ create_new_user() { setup_graphics_card() { # Main menu. Correct option for graphics card should be automatically highlighted. DIALOG " Choose video-driver to be installed " --radiolist "$_InstDEBody\n\n$_UseSpaceBar" 0 0 12 \ - $(mhwd -l | awk 'FNR>4 {print $1}' | awk 'NF' |awk '$0=$0" - off"') 2> /tmp/.driver + $(mhwd -l | awk 'FNR>4 {print $1}' | awk 'NF' |awk '$0=$0" - off"') 2> /tmp/.driver || return 0 clear arch_chroot "mhwd -f -i pci $(cat /tmp/.driver)" 2>$ERR