cli: mimic behavior of BT1 when trying to attach to live session
[babeltrace.git] / cli / babeltrace-cfg-cli-args.c
index 159421650e5550f195f0520c3f73b374d217c6a7..06385a35d1e908edfd3b0c9bd0870894ecdf6210 100644 (file)
@@ -4521,6 +4521,13 @@ struct bt_config *bt_config_convert_from_args(int argc, const char *argv[],
                        if (ret) {
                                goto error;
                        }
+
+                       ret = append_implicit_component_extra_param(
+                               &implicit_lttng_live_args,
+                               "session-not-found-action", "end");
+                       if (ret) {
+                               goto error;
+                       }
                } else {
                        /*
                         * Create one source.ctf.fs component, pass it an array
This page took 0.026082 seconds and 4 git commands to generate.