X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=lttng%2Fcommands%2Fadd_context.c;h=e82678bfccd08054fee3a1f82dd330f45d9db0f6;hb=35346445460dfe7ba5bbcfdbe279c07c1ee3219b;hp=619f7c9aca2af41a36da6bab95aa716810a31267;hpb=cd80958d00fddabced5fbd60641978516a01e29e;p=lttng-tools.git 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); }