Fix: remove the rundir at the end of the cleanup
authorDavid Goulet <dgoulet@efficios.com>
Wed, 6 Nov 2013 18:29:07 +0000 (13:29 -0500)
committerDavid Goulet <dgoulet@efficios.com>
Wed, 6 Nov 2013 18:29:07 +0000 (13:29 -0500)
Signed-off-by: David Goulet <dgoulet@efficios.com>
src/bin/lttng-sessiond/main.c

index a790844a1a484e3745305f91999ca98da8d390e3..35007b728a10eb9df8c2200167ef5885c99f95ff 100644 (file)
@@ -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");
This page took 0.027347 seconds and 4 git commands to generate.