From: David Goulet Date: Wed, 6 Nov 2013 18:29:07 +0000 (-0500) Subject: Fix: remove the rundir at the end of the cleanup X-Git-Tag: v2.4.0-rc1~75 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=43c5442ea57aca20701fd49fba1e3456d48cc7b2;p=lttng-tools.git Fix: remove the rundir at the end of the cleanup Signed-off-by: David Goulet --- 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");