Possible fix for model appearing in output

This commit is contained in:
Dylan 2016-05-08 10:11:37 +10:00
parent 2fd316eb9c
commit e4a55b8d76

View file

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