From ac7be6d3d12ec6009bbef040fd09821ba2202548 Mon Sep 17 00:00:00 2001 From: saeziae Date: Sun, 31 Jul 2022 00:08:35 +0800 Subject: [PATCH] fix error --- neofetch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neofetch b/neofetch index ee77887a..e42e6032 100755 --- a/neofetch +++ b/neofetch @@ -2211,7 +2211,7 @@ get_cpu() { ;; "riscv"*) - cpu="$(lscpu | awk -F': ' '/uarch/ {print $2; exit}' )" + cpu="$(awk -F': ' '/uarch/ {print $2; exit}' "$cpu_file")" ;; *)