Fix hang on Windows

This commit is contained in:
dylan araps 2016-01-05 16:33:31 +11:00
parent 1059ccd566
commit f3bd444b32
1 changed files with 1 additions and 6 deletions

View File

@ -244,12 +244,7 @@ getdistro () {
;;
"Windows")
# TODO: Detect XP/7
if [ "$(wmic os get version | grep -o '^10')" ]; then
distro="Windows 10"
else
distro="Windows"
fi
;;
*)