X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fbin%2Flttng-sessiond%2Fsession.c;h=6f52bcf4fac62abb83baac3342de28f30f37a3ee;hb=999394bf231131468124941e884deef27eee2ad8;hp=519c22ab5a0d767007fa7fe7026d74243daa2aa7;hpb=55f2184bbbd5415c6378359e1c28e0a9da97e66f;p=lttng-tools.git diff --git a/src/bin/lttng-sessiond/session.c b/src/bin/lttng-sessiond/session.c index 519c22ab5..6f52bcf4f 100644 --- a/src/bin/lttng-sessiond/session.c +++ b/src/bin/lttng-sessiond/session.c @@ -391,7 +391,7 @@ static bool ltt_sessions_ht_empty(void) assert(ltt_sessions_ht_by_name); - if (lttng_ht_get_count(ltt_sessions_ht_by_id) == 0) { + if (lttng_ht_get_count(ltt_sessions_ht_by_id) != 0) { /* Not empty.*/ goto end; }