mirror of
https://gitlab.com/asus-linux/asusctl.git
synced 2026-01-22 17:33:19 +01:00
Fix: continue -> return in set_config_or_default
This commit is contained in:
@@ -582,7 +582,7 @@ pub async fn set_config_or_default(
|
||||
let tuning = config.select_tunings(power_plugged, profile);
|
||||
if !tuning.enabled {
|
||||
debug!("Tuning group is not enabled, skipping");
|
||||
continue;
|
||||
return;
|
||||
}
|
||||
|
||||
if let Some(tune) = tuning.group.get(&name) {
|
||||
|
||||
Reference in New Issue
Block a user