summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIlya Mashchenko <ilya@netdata.cloud>2023-11-30 20:07:34 +0200
committerGitHub <noreply@github.com>2023-11-30 20:07:34 +0200
commit7ce81a45e565b270180ac08203f97b9a98c75c24 (patch)
tree4bb23b2eec69f0405eb40dba1da2ca23c47b449b
parent81ceddc5188aee7c102534cd2f39fb6b17a71dd9 (diff)
apps: fix "has aggregated" debug output (#16512)
-rw-r--r--collectors/apps.plugin/apps_plugin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/collectors/apps.plugin/apps_plugin.c b/collectors/apps.plugin/apps_plugin.c
index a20f8fd3a2..c8f7e74400 100644
--- a/collectors/apps.plugin/apps_plugin.c
+++ b/collectors/apps.plugin/apps_plugin.c
@@ -3860,7 +3860,7 @@ static void send_charts_updates_to_netdata(struct target *root, const char *type
if (debug_enabled) {
for (w = root; w; w = w->next) {
- if (unlikely(w->debug_enabled && !w->target && w->processes)) {
+ if (unlikely(!w->target && w->processes)) {
struct pid_on_target *pid_on_target;
fprintf(stderr, "apps.plugin: target '%s' has aggregated %u process(es):", w->name, w->processes);
for (pid_on_target = w->root_pid; pid_on_target; pid_on_target = pid_on_target->next) {