X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng-relayd%2Fhealth-relayd.c;h=6b4a742f8e5fa95066e29b3e922ff13bd449eb31;hb=efe12cccde8949059bf0e91cb0e63a3dd2c21949;hp=61e50367cb0eb1bfeadeb1e549468d180145afa0;hpb=c3844e398cb3ff08e16c2b6ecdac4582d381ae95;p=lttng-tools.git diff --git a/src/bin/lttng-relayd/health-relayd.c b/src/bin/lttng-relayd/health-relayd.c index 61e50367c..6b4a742f8 100644 --- a/src/bin/lttng-relayd/health-relayd.c +++ b/src/bin/lttng-relayd/health-relayd.c @@ -385,6 +385,11 @@ error: } } + /* + * We do NOT rmdir rundir nor the relayd path because there are + * other processes using them. + */ + lttng_poll_clean(&events); rcu_unregister_thread();