X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=src%2Fbin%2Flttng%2Fcommands%2Fcreate.c;h=60f3d7c685b29e266bb94ae3c784fa338686a28f;hb=8e4afd432616a29e1db7ba1af41555f795e412b4;hp=5fdcbe3d2b26302b5d25d1a2d3fed865354e6f3a;hpb=0709e00e61462b464263cf01f6f84690e35aff07;p=lttng-tools.git diff --git a/src/bin/lttng/commands/create.c b/src/bin/lttng/commands/create.c index 5fdcbe3d2..60f3d7c68 100644 --- a/src/bin/lttng/commands/create.c +++ b/src/bin/lttng/commands/create.c @@ -876,6 +876,9 @@ static int create_session(void) &base_ctrl_url, &base_data_url, &base_shm_path); + if (ret) { + goto error; + } } /* Option validation */