Revert "Fix: remove the rundir at the end of the cleanup"
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 11 Nov 2013 14:56:37 +0000 (09:56 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 11 Nov 2013 14:56:37 +0000 (09:56 -0500)
This reverts commit 43c5442ea57aca20701fd49fba1e3456d48cc7b2.

We cannot remove the toplevel lttng rundir when sessiond exits, now that
it is also used by relayd.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
src/bin/lttng-sessiond/main.c

index 35007b728a10eb9df8c2200167ef5885c99f95ff..a790844a1a484e3745305f91999ca98da8d390e3 100644 (file)
@@ -499,7 +499,6 @@ 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.028557 seconds and 5 git commands to generate.