Fix: wait for the completion of implicit session rotations
[lttng-tools.git] / src / bin / lttng / commands / destroy.c
index 6878aaa0da20a146808592b54d89efcfabd56977..77acb180f8b8d91ee44bfd6249f86c4c8cc696b1 100644 (file)
@@ -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;
        }
This page took 0.025656 seconds and 5 git commands to generate.