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-Url: http://git.efficios.com/?p=lttng-tools.git;a=commitdiff_plain;h=43c5442ea57aca20701fd49fba1e3456d48cc7b2 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");