From: David Goulet Date: Thu, 23 Feb 2012 21:32:45 +0000 (-0500) Subject: Fix add-context returned error X-Git-Tag: v2.0.0-rc2~26 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=bba176e4ecec1429206c3f0bf72659ba65ff1bb9;p=lttng-tools.git Fix add-context returned error Commit closes #99 Signed-off-by: David Goulet --- diff --git a/src/bin/lttng-sessiond/context.c b/src/bin/lttng-sessiond/context.c index 9727258bf..e4c9a51bf 100644 --- a/src/bin/lttng-sessiond/context.c +++ b/src/bin/lttng-sessiond/context.c @@ -437,10 +437,6 @@ end: break; } - if (no_chan) { - ret = LTTCOMM_UST_CHAN_NOT_FOUND; - } - error: return ret; }