Fix: remove the rundir at the end of the cleanup
[lttng-tools.git] / src / bin / lttng-sessiond / main.c
index a790844a1a484e3745305f91999ca98da8d390e3..35007b728a10eb9df8c2200167ef5885c99f95ff 100644 (file)
@@ -499,6 +499,7 @@ static void cleanup(void)
        DBG("Removing directory %s", path);
        (void) rmdir(path);
 
+       (void) rmdir(rundir);
        free(rundir);
 
        DBG("Cleaning up all sessions");
This page took 0.025852 seconds and 5 git commands to generate.