fix(freeipmi): Update frequency config check (#7078)
Fix the update frequency check for freeipmi which was warning that 5 was too frequent an it was setting it to 5.
Steven Hartland committed
Oct 15, 2019 at 09:56 UTC
2d248dfa2243fa418136a5882be8857835a8e666
1 file changed
+1
-1
collectors/freeipmi.plugin/freeipmi_plugin.c
+1
-1
@@ -1790,7 +1790,7 @@ int main (int argc, char **argv) {
1790
1791
errno = 0;
1792
1793
- if(freq > netdata_update_every)
1793
+ if(freq >= netdata_update_every)
1794
netdata_update_every = freq;
1795
1796
else if(freq)