X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng%2Fcommands%2Fdestroy.c;fp=src%2Fbin%2Flttng%2Fcommands%2Fdestroy.c;h=77acb180f8b8d91ee44bfd6249f86c4c8cc696b1;hp=6878aaa0da20a146808592b54d89efcfabd56977;hb=3e3665b89947ebdd812bcfaca1090d22b34d5778;hpb=fcf0f774e2b567e5dcf9190a84973b7a4e06eb7d diff --git a/src/bin/lttng/commands/destroy.c b/src/bin/lttng/commands/destroy.c index 6878aaa0d..77acb180f 100644 --- a/src/bin/lttng/commands/destroy.c +++ b/src/bin/lttng/commands/destroy.c @@ -113,7 +113,7 @@ static int destroy_session(struct lttng_session *session) print_session_stats(session->name); } - ret = lttng_destroy_session_no_wait(session->name); + ret = lttng_destroy_session(session->name); if (ret < 0) { goto error; }