projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: perform local data pending before checking data pending with relayd
[lttng-tools.git]
/
src
/
bin
/
lttng-consumerd
/
health-consumerd.c
diff --git
a/src/bin/lttng-consumerd/health-consumerd.c
b/src/bin/lttng-consumerd/health-consumerd.c
index 2ea6303f77533fd28bf9684598733bdf4f8cf9c9..1e2f31e488b51cb3f42af09adb299ea7448afac2 100644
(file)
--- a/
src/bin/lttng-consumerd/health-consumerd.c
+++ b/
src/bin/lttng-consumerd/health-consumerd.c
@@
-177,7
+177,7
@@
void *thread_manage_health(void *data)
sock = lttcomm_create_unix_sock(health_unix_sock_path);
if (sock < 0) {
ERR("Unable to create health check Unix socket");
sock = lttcomm_create_unix_sock(health_unix_sock_path);
if (sock < 0) {
ERR("Unable to create health check Unix socket");
-
ret
= -1;
+
err
= -1;
goto error;
}
goto error;
}
@@
-189,7
+189,7
@@
void *thread_manage_health(void *data)
if (ret < 0) {
ERR("Unable to set group on %s", health_unix_sock_path);
PERROR("chown");
if (ret < 0) {
ERR("Unable to set group on %s", health_unix_sock_path);
PERROR("chown");
-
ret
= -1;
+
err
= -1;
goto error;
}
goto error;
}
@@
-198,7
+198,7
@@
void *thread_manage_health(void *data)
if (ret < 0) {
ERR("Unable to set permissions on %s", health_unix_sock_path);
PERROR("chmod");
if (ret < 0) {
ERR("Unable to set permissions on %s", health_unix_sock_path);
PERROR("chmod");
-
ret
= -1;
+
err
= -1;
goto error;
}
}
goto error;
}
}
This page took
0.025859 seconds
and
4
git commands to generate.