X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=lttng%2Fconf.c;h=57aaf7b2ddd5d726b70cf1b27a60f6f2eebcbe13;hp=1cf0907ad884bf204060e6bd6f8f7df79f7d0bb1;hb=2e0ac66c6c13c670bca92e7a333358554769f638;hpb=b082db07f0c522527fc95fc97f3e99eb0579c0cc diff --git a/lttng/conf.c b/lttng/conf.c index 1cf0907ad..57aaf7b2d 100644 --- a/lttng/conf.c +++ b/lttng/conf.c @@ -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); }