Fix iphone model appearing in distro output

This commit is contained in:
Dylan 2016-05-08 10:17:17 +10:00
parent e4a55b8d76
commit e8f9f44091

View file

@ -501,7 +501,8 @@ getdistro () {
;;
"iPhone OS")
distro="iOS $(sw_vers -productVersion 2>/dev/null)"
distro="iOS $(sw_vers -productVersion)"
distro=${distro% *}
;;
"OpenBSD")