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:
parent
210ec6245e
commit
7e924934e8
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user