Skip to content

Commit

Permalink
honour "optional:" KW on pre-run config check
Browse files Browse the repository at this point in the history
Should fix issue #109
  • Loading branch information
vmatare committed Dec 20, 2020
1 parent 7f944a5 commit eab6f5b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/thinkfan.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -474,8 +474,7 @@ int main(int argc, char **argv) {
temp_state = TemperatureState(test_cfg->num_temps());
temp_state.init();
test_cfg->init_fans();
for (auto &sensor : test_cfg->sensors())
sensor->read_temps();
read_temps_safe(test_cfg->sensors());
Logger::instance().log_lvl() = old_lvl;
// Own scope so the config gets destroyed before forking
}
Expand Down

0 comments on commit eab6f5b

Please sign in to comment.