auto-cpufreq/bin
Lab Rat c34e3e7fbd
Fix bug related to repeated sudo prompt due to set_override calls (#531)
set_override method is now called only if force flag is invoked.

Here are the specific code changes made:

In auto_cpufreq/core.py:
- Line 96: Removed the root_check call from the set_override function.
           This was intended to be done to comply with code template,
           i.e., to use root_check in the main file.

In bin/auto-cpufreq:
- Line 45: Added a root_check call before calling set_override in main program.
           Also, set_override is only called if force option is invoked, saving
           us from precious extra overheads.

Fixes #530
2023-06-30 08:37:19 +02:00
..
auto-cpufreq Fix bug related to repeated sudo prompt due to set_override calls (#531) 2023-06-30 08:37:19 +02:00