Don't remove the config directory on destroy
[lttng-tools.git] / 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.022862 seconds and 4 git commands to generate.