1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2024-11-03 04:17:17 -05:00

Fix: Do not add command_dashboard__getrlimit()-data twice

This commit is contained in:
Philipp Schafft 2022-03-31 22:31:39 +00:00
parent 210ec6245e
commit 7e924934e8

View File

@ -1794,7 +1794,10 @@ static void command_dashboard (client_t *client, source_t *source, adm
}
#if HAVE_GETRLIMIT && HAVE_SYS_RESOURCE_H
health = health_atbest(health, command_dashboard__getrlimit(config, reportnode, config->reportxml_db));
if (true) {
health_t limits = command_dashboard__getrlimit(config, reportnode, config->reportxml_db);
health = health_atbest(health, limits);
}
#endif
reportxml_helper_add_value_health(resource, "status", health);