time_t now = time(NULL);
if (now == (time_t) -1) {
+ channel_info->session->rotate_status = LTTNG_ROTATE_ERROR;
ret = LTTNG_ERR_ROTATE_NOT_AVAILABLE;
goto end;
}
ERR("Failed to rename completed rotation chunk");
goto end;
}
+ channel_info->session->rotate_pending = false;
}
channel_rotation_info_destroy(channel_info);