X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Frotation-thread.c;h=7bd6c681982fe1c18b6f0b039176650f17d6af2a;hb=c5ea08236b0e60d18f272c5bb0fe02ec52dbcff4;hp=af09ca0a5cb633bd04681ed382082b60689f7629;hpb=636a37792f4231b795bbb6d904a3c7489402a07a;p=lttng-tools.git diff --git a/src/bin/lttng-sessiond/rotation-thread.c b/src/bin/lttng-sessiond/rotation-thread.c index af09ca0a5..7bd6c6819 100644 --- a/src/bin/lttng-sessiond/rotation-thread.c +++ b/src/bin/lttng-sessiond/rotation-thread.c @@ -914,7 +914,6 @@ void *thread_rotation(void *data) ret = lttng_read(fd, &buf, 1); if (ret != 1) { ERR("[rotation-thread] Failed to read from wakeup pipe (fd = %i)", fd); - ret = -1; goto error; } } else {