Fix: sessiond: inverted condition checking for empty hash table
[lttng-tools.git] / src / bin / lttng-sessiond / session.c
index 519c22ab5a0d767007fa7fe7026d74243daa2aa7..6f52bcf4fac62abb83baac3342de28f30f37a3ee 100644 (file)
@@ -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;
        }
This page took 0.023534 seconds and 4 git commands to generate.