From 065b0d21a0c85f0c93efaae27952530463692638 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Fri, 19 Aug 2016 11:25:17 +1000 Subject: [PATCH] Model (Linux): Use cat to fix issues --- neofetch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neofetch b/neofetch index 685383f2..df78463e 100755 --- a/neofetch +++ b/neofetch @@ -41,7 +41,7 @@ getos() { getmodel() { case "$os" in "Linux") - model="$(< /sys/devices/virtual/dmi/id/product_{name,version} 2>/dev/null)" + model="$(cat /sys/devices/virtual/dmi/id/product_{name,version} 2>/dev/null)" model="${model/To Be Filled*}" ;;