X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=liblttng-ust%2Flttng-ust-comm.c;h=c619b5449dffafaa382927d63ff193656031bf02;hb=eacc4aa42c142be31d73171dc29a9a22ad080571;hp=726a30f9bdb6ffbfef4bc5fe17d11319ffdcd434;hpb=99b99b470fddbc81b9c7d01320616efdbe1cb55b;p=lttng-ust.git diff --git a/liblttng-ust/lttng-ust-comm.c b/liblttng-ust/lttng-ust-comm.c index 726a30f9..c619b544 100644 --- a/liblttng-ust/lttng-ust-comm.c +++ b/liblttng-ust/lttng-ust-comm.c @@ -1246,8 +1246,9 @@ restart: * deals with a killed or broken session daemon. */ sleep(5); + } else { + has_waited = 1; } - has_waited = 1; prev_connect_failed = 0; }