Skip to content

Commit

Permalink
Allow Boolean false in config
Browse files Browse the repository at this point in the history
  • Loading branch information
jkroepke committed Feb 12, 2017
1 parent 0016390 commit fd6bf89
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/plugin/turbostat.conf.erb
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
<% if @package_c_states -%>
PackageCstates "<%= @package_c_states %>"
<% end -%>
<% unless @system_management_interrupt.empty? -%>
<% unless @system_management_interrupt.nil? -%>
SystemManagementInterrupt "<%= @system_management_interrupt %>"
<% end -%>
<% unless @digital_temperature_sensor.empty? -%>
<% unless @digital_temperature_sensor.nil? -%>
DigitalTemperatureSensor "<%= @digital_temperature_sensor %>"
<% end -%>
<% if @tcc_activation_temp -%>
Expand Down

0 comments on commit fd6bf89

Please sign in to comment.