From: David Goulet Date: Thu, 30 Jun 2011 20:33:04 +0000 (-0400) Subject: Don't remove the config directory on destroy X-Git-Tag: v2.0-pre1~58 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=2e0ac66c6c13c670bca92e7a333358554769f638;p=lttng-tools.git Don't remove the config directory on destroy Signed-off-by: David Goulet --- 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); }