graphics() improved for Raspberry PI
This commit is contained in:
parent
a06c23ae2c
commit
d5a28d5f1f
@ -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(),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user