Fix blank model output on Windows

This commit is contained in:
Dylan Araps 2016-10-02 12:01:22 +11:00
parent e590ddc10f
commit 6ede242b1c
1 changed files with 1 additions and 1 deletions

View File

@ -101,7 +101,7 @@ getmodel() {
model="$(wmic computersystem get manufacturer,model /value)"
model="${model/Manufacturer'='}"
model="${model/Model'='}"
model="${model//To Be Filled*}"
model="${model//*To Be Filled*}"
;;
"Solaris")