diff options
author | Stelios Fragkakis <52996999+stelfrag@users.noreply.github.com> | 2023-02-09 21:26:50 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-09 21:26:50 +0200 |
commit | 27795c8b938fa8d50d64208ca9b49ac0fca8153c (patch) | |
tree | c99e9fd0840a987c42696d9be6f70ed32235e017 /health | |
parent | 414f416c5d290db3c3eed9073258c834fac7f2f7 (diff) |
Fix crash when child connects (#14492)
* Just formatting
* Remove single threaded
* Only destroy if we are localhost (ie. shutdown)
Diffstat (limited to 'health')
-rw-r--r-- | health/health.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/health/health.c b/health/health.c index 8dc76e3100..e333dfe905 100644 --- a/health/health.c +++ b/health/health.c @@ -947,8 +947,8 @@ static void health_execute_delayed_initializations(RRDHOST *host) { } foreach_rrdcalctemplate_done(rt); - if(health_variable_check(health_rrdvars, st, rd)) - rrdvar_store_for_chart(host, st); + if (health_variable_check(health_rrdvars, st, rd)) + rrdvar_store_for_chart(host, st); } rrddim_foreach_done(rd); } |