fix rotate pending on relay
[deliverable/lttng-tools.git] / src / bin / lttng-sessiond / rotation-thread.c
index 58d70510fe52b17a647df5502bf3da5efeda1d2d..b37fb5bd381aacbed546e6d942c62b747ea870c4 100644 (file)
@@ -482,7 +482,12 @@ int handle_rotate_timer_pipe(int fd, uint32_t revents,
        if (!session) {
                ERR("[rotation-thread] Session %" PRIu64 " not found",
                                timer_data.session_id);
-               ret = -1;
+               /*
+                * This is a non-fatal error, and we cannot report it to the
+                * user (timer), so just print the error and continue the
+                * processing.
+                */
+               ret = 0;
                goto end_unlock;
        }
 
This page took 0.026072 seconds and 5 git commands to generate.