X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng%2Fcommands%2Fcreate.c;h=ddd2983e238208a0888a90638c539bda692111cf;hb=6dc3064a30b0cc7cfa9fdd22da1963525dfb7388;hp=805cdb1d27157e73c674a93d6c13195b5d27fe36;hpb=9c6bda17fc9edd28c46e52fdf439d37da81e8d9a;p=lttng-tools.git diff --git a/src/bin/lttng/commands/create.c b/src/bin/lttng/commands/create.c index 805cdb1d2..ddd2983e2 100644 --- a/src/bin/lttng/commands/create.c +++ b/src/bin/lttng/commands/create.c @@ -250,7 +250,7 @@ static int create_session(void) print_str_url = url; } else { /* Auto output path */ - alloc_path = config_get_default_path(); + alloc_path = utils_get_home_dir(); if (alloc_path == NULL) { ERR("HOME path not found.\n \ Please specify an output path using -o, --output PATH");