From: Mathieu Desnoyers Date: Mon, 11 Nov 2013 14:56:37 +0000 (-0500) Subject: Revert "Fix: remove the rundir at the end of the cleanup" X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=commitdiff_plain;h=f3a10086da04ac1a3b973b5807919450462a721d;hp=c3844e398cb3ff08e16c2b6ecdac4582d381ae95 Revert "Fix: remove the rundir at the end of the cleanup" 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 --- diff --git a/src/bin/lttng-sessiond/main.c b/src/bin/lttng-sessiond/main.c index 35007b728..a790844a1 100644 --- a/src/bin/lttng-sessiond/main.c +++ b/src/bin/lttng-sessiond/main.c @@ -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");