Model (Linux): Use cat to fix issues
This commit is contained in:
parent
4b4b0437d9
commit
065b0d21a0
1 changed files with 1 additions and 1 deletions
2
neofetch
2
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*}"
|
||||
;;
|
||||
|
||||
|
|
Loading…
Reference in a new issue