From: David Goulet Date: Mon, 15 Aug 2011 20:14:45 +0000 (-0400) Subject: Continue parsing options for add-context on error X-Git-Tag: v2.0-pre12~24 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=16ab6b8a9c89f170d7047b386dfe9a93c4d59a58;p=lttng-tools.git Continue parsing options for add-context on error Signed-off-by: David Goulet --- diff --git a/lttng/commands/add_context.c b/lttng/commands/add_context.c index 619f7c9ac..e82678bfc 100644 --- a/lttng/commands/add_context.c +++ b/lttng/commands/add_context.c @@ -383,7 +383,7 @@ static int add_context(char *session_name) opt_channel_name); if (ret < 0) { fprintf(stderr, "%s: ", type->opt->symbol); - goto error; + continue; } else { MSG("Kernel context %s added", type->opt->symbol); }