gpu: Fix blank line in output on Windows.

This commit is contained in:
Dylan Araps 2020-10-04 18:26:26 +03:00
parent 71d8914ec7
commit c93f3dabd6
No known key found for this signature in database
GPG key ID: 46D62DD9F1DE636E

View file

@ -2517,7 +2517,7 @@ get_gpu() {
"Windows")
while read -r line; do
[[ $win_gpu ]] || {
[[ -z $win_gpu ]] || [[ -z "$line" ]] && {
win_gpu=1
continue
}