graphics() improved for Raspberry PI

This commit is contained in:
Sebastian Hildebrandt 2025-01-09 16:30:21 +01:00
parent a06c23ae2c
commit d5a28d5f1f

View File

@ -759,7 +759,7 @@ function graphics(callback) {
});
}
}
if (lines.length > 1 && stdout.toString().indexOf('gpu=') >= -1) {
if (lines.length >= 1 && stdout.toString().indexOf('gpu=') >= -1) {
result.controllers.push({
vendor: 'Broadcom',
model: util.getRpiGpu(),