Fix: initialize live_timer to 0 for snapshot session
[lttng-tools.git] / src / bin / lttng-sessiond / cmd.c
index 4cc590a9585b480142ca4ea54cc0ecf1e770b585..fdc72b834158c1de4082d657affff40e93979e08 100644 (file)
@@ -2345,7 +2345,7 @@ int cmd_create_session_snapshot(char *name, struct lttng_uri *uris,
         * Create session in no output mode with URIs set to NULL. The uris we've
         * received are for a default snapshot output if one.
         */
-       ret = cmd_create_session_uri(name, NULL, 0, creds, -1);
+       ret = cmd_create_session_uri(name, NULL, 0, creds, 0);
        if (ret != LTTNG_OK) {
                goto error;
        }
This page took 0.024375 seconds and 4 git commands to generate.