Fixed syntax error.
This commit is contained in:
+1
-1
@@ -142,7 +142,7 @@ detect_graphics() {
|
|||||||
'{brand: \$b, renderer: \$r, integrated: \$i}')
|
'{brand: \$b, renderer: \$r, integrated: \$i}')
|
||||||
gpus=\$(echo "\$gpus" | jq --argjson obj "\$gpu_obj" '. += [\$obj]')
|
gpus=\$(echo "\$gpus" | jq --argjson obj "\$gpu_obj" '. += [\$obj]')
|
||||||
|
|
||||||
done < <(lspci -D | grep -iE 'VGA|3D' | awk '{print $1}')
|
done < <(lspci -D | grep -iE 'VGA|3D' | awk '{print \$1}')
|
||||||
|
|
||||||
append_to_report "graphics" "\$gpus"
|
append_to_report "graphics" "\$gpus"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user