Fix freeipmi crash (#21109)
Stelios Fragkakis committed
Oct 7, 2025 at 12:03 UTC
4f2875a4112beda099a661623025ade1705e414d
1 file changed
+1
src/collectors/freeipmi.plugin/freeipmi_plugin.c
+1
@@ -2114,6 +2114,7 @@ int main (int argc, char **argv) {
2114
if (restart_every && (now_monotonic_sec() - started_t > IPMI_RESTART_EVERY_SECONDS)) {
2115
collector_info("%s(): reached my lifetime expectancy. Exiting to restart.", __FUNCTION__);
2116
fprintf(stdout, "EXIT\n");
2117
+ netdata_mutex_unlock(&stdout_mutex);
2118
plugin_exit(0);
2119
}
2120