X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=lttng%2Fcommands%2Fdestroy.c;h=3fd3eb0247e288aef4782263f6233d68dcc03b98;hp=f08a99fd76e73a9ca0fe9daad29153da223f9295;hb=58a97671d5fa65f93126798ded9e5306e3555186;hpb=3087ef18ecb79a3fcef9c8bb8a3e9dc1ea228ff0 diff --git a/lttng/commands/destroy.c b/lttng/commands/destroy.c index f08a99fd7..3fd3eb024 100644 --- a/lttng/commands/destroy.c +++ b/lttng/commands/destroy.c @@ -81,7 +81,7 @@ static int destroy_session() goto free_name; } - path = get_config_file_path(); + path = config_get_default_path(); if (path == NULL) { ret = CMD_FATAL; goto free_name;