Implement lttng_read()/lttng_write()
[lttng-tools.git] / src / bin / lttng-sessiond / main.c
index 35007b728a10eb9df8c2200167ef5885c99f95ff..54b47567dea05cbc2acf0e7796a499134d2cb987 100644 (file)
@@ -499,7 +499,12 @@ static void cleanup(void)
        DBG("Removing directory %s", path);
        (void) rmdir(path);
 
-       (void) rmdir(rundir);
+       /*
+        * We do NOT rmdir rundir because there are other processes
+        * using it, for instance lttng-relayd, which can start in
+        * parallel with this teardown.
+        */
+
        free(rundir);
 
        DBG("Cleaning up all sessions");
This page took 0.024108 seconds and 5 git commands to generate.