Continue parsing options for add-context on error
authorDavid Goulet <david.goulet@polymtl.ca>
Mon, 15 Aug 2011 20:14:45 +0000 (16:14 -0400)
committerDavid Goulet <david.goulet@polymtl.ca>
Mon, 15 Aug 2011 20:14:45 +0000 (16:14 -0400)
Signed-off-by: David Goulet <david.goulet@polymtl.ca>
lttng/commands/add_context.c

index 619f7c9aca2af41a36da6bab95aa716810a31267..e82678bfccd08054fee3a1f82dd330f45d9db0f6 100644 (file)
@@ -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);
                        }
This page took 0.034191 seconds and 4 git commands to generate.