mirror of
https://github.com/djhackersdev/bemanitools.git
synced 2026-06-22 15:20:11 -05:00
fix(nvgpu): Missing error handling not returning
If fetching the configuration fails, don’t continue with processing any non-existing data.
This commit is contained in:
parent
fcbb4160ee
commit
6276cb4e97
|
|
@ -666,7 +666,9 @@ static bool _display_config_print(const nv_api_t *nv_api, NvU32 display_id)
|
|||
|
||||
assert(nv_api);
|
||||
|
||||
_display_config_get(nv_api, &displayconfig_path_info);
|
||||
if (!_display_config_get(nv_api, &displayconfig_path_info)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (display_id != 0) {
|
||||
printfln_err("Applying display ID filter: %lX", display_id);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user