diff --git a/neofetch b/neofetch index 63f24d5a..166bf969 100755 --- a/neofetch +++ b/neofetch @@ -501,7 +501,8 @@ getdistro () { ;; "iPhone OS") - distro="iOS $(sw_vers -productVersion 2>/dev/null)" + distro="iOS $(sw_vers -productVersion)" + distro=${distro% *} ;; "OpenBSD")