From: Jérémie Galarneau Date: Wed, 11 Sep 2019 00:17:34 +0000 (-0400) Subject: Clean-up: lttng: check status returned when checking rotation state X-Git-Tag: v2.12.0-rc1~406 X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=commitdiff_plain;h=7d81aa9fff703f8fcf35f8ac426aa37d0ffffb16;hp=7d81aa9fff703f8fcf35f8ac426aa37d0ffffb16 Clean-up: lttng: check status returned when checking rotation state While the use of the destruction handle in the lttng client guarantees that obtaining the rotation's state will succeed, it is a poor example to give of using this API. Moreover, we don't wait to give the impression that this could never change. Signed-off-by: Jérémie Galarneau ---