projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Using LTTNG_HOME environment variable if exists, with fallback to HOME
[lttng-tools.git]
/
src
/
bin
/
lttng
/
commands
/
create.c
diff --git
a/src/bin/lttng/commands/create.c
b/src/bin/lttng/commands/create.c
index 805cdb1d27157e73c674a93d6c13195b5d27fe36..ddd2983e238208a0888a90638c539bda692111cf 100644
(file)
--- 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 */
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");
if (alloc_path == NULL) {
ERR("HOME path not found.\n \
Please specify an output path using -o, --output PATH");
This page took
0.023961 seconds
and
4
git commands to generate.