diff --git a/src/haproxy.c b/src/haproxy.c index 91afc25d4..52d58e067 100644 --- a/src/haproxy.c +++ b/src/haproxy.c @@ -1303,7 +1303,7 @@ static void init_early(int argc, char **argv) char *tmp; int len; - setenv("HAPROXY_STARTUP_VERSION", HAPROXY_VERSION, 0); + setenv("HAPROXY_STARTUP_VERSION", haproxy_version, 0); /* First, let's initialize most global variables */ totalconn = actconn = listeners = stopping = 0;