projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cleanup liblttngctl
[lttng-tools.git]
/
lttng
/
lttng.c
diff --git
a/lttng/lttng.c
b/lttng/lttng.c
index ab89952740b1beda71a7d233a759db253f773c3e..75cb1b47372323c656d59b8851fc41f9bb85b4dc 100644
(file)
--- a/
lttng/lttng.c
+++ b/
lttng/lttng.c
@@
-645,8
+645,8
@@
static int check_ltt_sessiond(void)
int ret;
char *pathname = NULL, *alloc_pathname = NULL;
int ret;
char *pathname = NULL, *alloc_pathname = NULL;
- ret = lttng_
check_session_daemon
();
- if (ret
< 0) {
+ ret = lttng_
session_daemon_alive
();
+ if (ret
== 0) { /* not alive */
/* Try command line option path */
if (opt_sessiond_path != NULL) {
ret = access(opt_sessiond_path, F_OK | X_OK);
/* Try command line option path */
if (opt_sessiond_path != NULL) {
ret = access(opt_sessiond_path, F_OK | X_OK);
This page took
0.023402 seconds
and
4
git commands to generate.