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") "iPhone OS")
ios_version="$(sw_vers -productVersion)" distro="iOS $(sw_vers -productVersion 2>/dev/null)"
distro="iOS ${ios_version/ *}"
;; ;;
"OpenBSD") "OpenBSD")