Fix: Correctly handle the command to disable all events
authorAlexandre Montplaisir <alexmonthy@efficios.com>
Thu, 30 Jul 2015 23:52:14 +0000 (19:52 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 31 Jul 2015 21:50:41 +0000 (17:50 -0400)
Missed a return statement in the method to handle disable
event commands. The "*" event would get disabled correctly,
but the execution would fall-through and fail later on,
incorrectly reporting a failure.

Signed-off-by: Alexandre Montplaisir <alexmonthy@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
liblttng-ust-java-agent/java/lttng-ust-agent-common/org/lttng/ust/agent/AbstractLttngAgent.java

index 4e6d4af011f3e976c7799ec714b8b2130386cfe0..64b33b6c596d96a5a80dfb04b9d064c46a541fdc 100644 (file)
@@ -227,6 +227,7 @@ public abstract class AbstractLttngAgent<T extends ILttngHandler> implements ILt
                                enabledWildcards.incrementAndGet();
                                return false;
                        }
+                       return true;
                }
 
                if (eventName.endsWith(WILDCARD)) {
This page took 0.025336 seconds and 4 git commands to generate.