From 43c5442ea57aca20701fd49fba1e3456d48cc7b2 Mon Sep 17 00:00:00 2001 From: David Goulet Date: Wed, 6 Nov 2013 13:29:07 -0500 Subject: [PATCH] Fix: remove the rundir at the end of the cleanup Signed-off-by: David Goulet --- src/bin/lttng-sessiond/main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/bin/lttng-sessiond/main.c b/src/bin/lttng-sessiond/main.c index a790844a1..35007b728 100644 --- a/src/bin/lttng-sessiond/main.c +++ b/src/bin/lttng-sessiond/main.c @@ -499,6 +499,7 @@ 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