gpu: Fix blank line in output on Windows.
This commit is contained in:
parent
71d8914ec7
commit
c93f3dabd6
1 changed files with 1 additions and 1 deletions
2
neofetch
2
neofetch
|
@ -2517,7 +2517,7 @@ get_gpu() {
|
||||||
|
|
||||||
"Windows")
|
"Windows")
|
||||||
while read -r line; do
|
while read -r line; do
|
||||||
[[ $win_gpu ]] || {
|
[[ -z $win_gpu ]] || [[ -z "$line" ]] && {
|
||||||
win_gpu=1
|
win_gpu=1
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue