VFIO mode enabled

This commit is contained in:
Luke D Jones
2021-03-20 23:26:03 +13:00
parent 45ab568f7a
commit 538e111e78
15 changed files with 240 additions and 179 deletions

View File

@@ -160,7 +160,9 @@ impl DbusFanAndCpu {
}
if cfg.active_profile == *profile {
return Err(Error::Failed("Cannot delete the active profile".to_string()));
return Err(Error::Failed(
"Cannot delete the active profile".to_string(),
));
}
cfg.power_profiles.remove(profile);