gpu: Fix blank line in output on Windows.

parent 71d8914e
......@@ -2517,7 +2517,7 @@ get_gpu() {
"Windows")
while read -r line; do
[[ $win_gpu ]] || {
[[ -z $win_gpu ]] || [[ -z "$line" ]] && {
win_gpu=1
continue
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment