X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=lttng-sessiond%2Fmain.c;h=a153b2351cccae5d2b125d23e8a088bd0c2d52af;hp=86112f4735eb0d49dc6c93cc9cd91d7e223a677a;hb=eb1e0bd499a6f47d2bcc5a2b828356101d8b00c3;hpb=e14f64a857c09162959b50c6c7f2abaaaa7eee49 diff --git a/lttng-sessiond/main.c b/lttng-sessiond/main.c index 86112f473..a153b2351 100644 --- a/lttng-sessiond/main.c +++ b/lttng-sessiond/main.c @@ -1533,10 +1533,10 @@ static pid_t spawn_consumerd(struct consumer_data *consumer_data) */ if (stat(consumerd64_bin, &st) == 0) { consumer_to_use = consumerd64_bin; - } else if (stat(consumerd32_bin, &st) == 0) { - consumer_to_use = consumerd32_bin; } else if (stat(INSTALL_BIN_PATH "/" CONSUMERD_FILE, &st) == 0) { consumer_to_use = INSTALL_BIN_PATH "/" CONSUMERD_FILE; + } else if (stat(consumerd32_bin, &st) == 0) { + consumer_to_use = consumerd32_bin; } else { break; }