From f3a10086da04ac1a3b973b5807919450462a721d Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Mon, 11 Nov 2013 09:56:37 -0500 Subject: [PATCH] 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 --- src/bin/lttng-sessiond/main.c | 1 - 1 file changed, 1 deletion(-) 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"); -- 2.34.1