Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBernd Hufmann2014-12-19 20:31:34 +0000
committerBernd Hufmann2014-12-23 20:33:10 +0000
commit598c22a41051255d29530cfc8f12504cc234c439 (patch)
treea31e0ac59639559cb193130be6c5d72ddd1237df
parentc8f6254ae6b86c43336d1ead9b083c349737b23f (diff)
downloadorg.eclipse.linuxtools-598c22a41051255d29530cfc8f12504cc234c439.tar.gz
org.eclipse.linuxtools-598c22a41051255d29530cfc8f12504cc234c439.tar.xz
org.eclipse.linuxtools-598c22a41051255d29530cfc8f12504cc234c439.zip
[LTTng Control] Store error stream output in command result (Bug 455801)
Change-Id: I9487153bc9b3a9ae653157615fba1cf03f2e56fb Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com> Reviewed-on: https://git.eclipse.org/r/38593 Tested-by: Hudson CI Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com> Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
-rw-r--r--lttng/org.eclipse.linuxtools.lttng2.control.ui/src/org/eclipse/linuxtools/internal/lttng2/control/ui/views/remote/CommandShell.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/lttng/org.eclipse.linuxtools.lttng2.control.ui/src/org/eclipse/linuxtools/internal/lttng2/control/ui/views/remote/CommandShell.java b/lttng/org.eclipse.linuxtools.lttng2.control.ui/src/org/eclipse/linuxtools/internal/lttng2/control/ui/views/remote/CommandShell.java
index de58332ad5..75f674d72a 100644
--- a/lttng/org.eclipse.linuxtools.lttng2.control.ui/src/org/eclipse/linuxtools/internal/lttng2/control/ui/views/remote/CommandShell.java
+++ b/lttng/org.eclipse.linuxtools.lttng2.control.ui/src/org/eclipse/linuxtools/internal/lttng2/control/ui/views/remote/CommandShell.java
@@ -208,7 +208,7 @@ public class CommandShell implements ICommandShell {
}
String[] output = splitLines(stdout);
- String[] error = result == 0 ? null : splitLines(stderr);
+ String[] error = splitLines(stderr);
return new CommandResult(result, output, error);
}

Back to the top