diff --git a/neofetch b/neofetch index dad9d742..685383f2 100755 --- a/neofetch +++ b/neofetch @@ -41,7 +41,7 @@ getos() { getmodel() { case "$os" in "Linux") - model="$(< /sys/devices/virtual/dmi/id/product_version)" + model="$(< /sys/devices/virtual/dmi/id/product_{name,version} 2>/dev/null)" model="${model/To Be Filled*}" ;;