X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Frotation-thread.c;h=01a963c25d45c026119a2300d78780ac82772736;hp=900892bdb12bb8ad174f1248a4f4e2728278b3c0;hb=753f4df1c2a5090c772aee207bafe7839d288b2a;hpb=f829d17ad1141d0fb130edc1aa26d446ffed146b diff --git a/src/bin/lttng-sessiond/rotation-thread.c b/src/bin/lttng-sessiond/rotation-thread.c index 900892bdb..01a963c25 100644 --- a/src/bin/lttng-sessiond/rotation-thread.c +++ b/src/bin/lttng-sessiond/rotation-thread.c @@ -691,7 +691,6 @@ int handle_condition( ret = cmd_rotate_session(session, NULL); if (ret == -LTTNG_ERR_ROTATION_PENDING) { DBG("Rotate already pending, subscribe to the next threshold value"); - ret = 0; } else if (ret != LTTNG_OK) { ERR("[rotation-thread] Failed to rotate on size notification with error: %s", lttng_strerror(ret));