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

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
}