Don't remove the config directory on destroy
authorDavid Goulet <david.goulet@polymtl.ca>
Thu, 30 Jun 2011 20:33:04 +0000 (16:33 -0400)
committerDavid Goulet <david.goulet@polymtl.ca>
Thu, 30 Jun 2011 20:33:04 +0000 (16:33 -0400)
Signed-off-by: David Goulet <david.goulet@polymtl.ca>
lttng/conf.c

index 1cf0907ad884bf204060e6bd6f8f7df79f7d0bb1..57aaf7b2ddd5d726b70cf1b27a60f6f2eebcbe13 100644 (file)
@@ -173,11 +173,6 @@ void config_destroy(char *path)
                perror("remove config file");
        }
 
-       ret = rmdir(path);
-       if (ret < 0) {
-               perror("rmdir config dir");
-       }
-
        free(config_path);
 }
 
This page took 0.033621 seconds and 4 git commands to generate.