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-Tag: v2.4.0-rc1~67 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=f3a10086da04ac1a3b973b5807919450462a721d;p=lttng-tools.git 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");