Fix iphone model appearing in distro output
This commit is contained in:
parent
e4a55b8d76
commit
e8f9f44091
1 changed files with 2 additions and 1 deletions
3
neofetch
3
neofetch
|
@ -501,7 +501,8 @@ getdistro () {
|
|||
;;
|
||||
|
||||
"iPhone OS")
|
||||
distro="iOS $(sw_vers -productVersion 2>/dev/null)"
|
||||
distro="iOS $(sw_vers -productVersion)"
|
||||
distro=${distro% *}
|
||||
;;
|
||||
|
||||
"OpenBSD")
|
||||
|
|
Loading…
Reference in a new issue