diff options
author | Steven Hartland <steven.hartland@multiplay.co.uk> | 2019-10-15 09:56:48 +0100 |
---|---|---|
committer | Vladimir Kobal <vlad@prokk.net> | 2019-10-15 11:56:48 +0300 |
commit | 2d248dfa2243fa418136a5882be8857835a8e666 (patch) | |
tree | b197348543662da2381fdce49fbb6741dd682e33 /collectors/freeipmi.plugin/freeipmi_plugin.c | |
parent | 1fefb585685be8150700e0a3e4703c71546ca245 (diff) |
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.
Diffstat (limited to 'collectors/freeipmi.plugin/freeipmi_plugin.c')
-rw-r--r-- | collectors/freeipmi.plugin/freeipmi_plugin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/collectors/freeipmi.plugin/freeipmi_plugin.c b/collectors/freeipmi.plugin/freeipmi_plugin.c index ba1fbffae5..74274ea215 100644 --- a/collectors/freeipmi.plugin/freeipmi_plugin.c +++ b/collectors/freeipmi.plugin/freeipmi_plugin.c @@ -1790,7 +1790,7 @@ int main (int argc, char **argv) { errno = 0; - if(freq > netdata_update_every) + if(freq >= netdata_update_every) netdata_update_every = freq; else if(freq) |