mirror of
https://github.com/mbilker/vgpu_unlock-rs.git
synced 2025-06-08 13:28:23 +02:00
Merge pull request #3 from erin-allison/master
Fix issue where missing override file is improperly handled
This commit is contained in:
commit
856a9a8cb6
@ -395,7 +395,7 @@ fn handle_profile_override(config: &mut VgpuConfig) -> bool {
|
|||||||
let config_overrides = match fs::read_to_string(&config_path) {
|
let config_overrides = match fs::read_to_string(&config_path) {
|
||||||
Ok(data) => data,
|
Ok(data) => data,
|
||||||
Err(e) => {
|
Err(e) => {
|
||||||
if e.kind() != ErrorKind::NotFound {
|
if e.kind() == ErrorKind::NotFound {
|
||||||
error!("Config file '{}' not found", config_path.display());
|
error!("Config file '{}' not found", config_path.display());
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user