mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-11-28 14:21:00 +01:00
MINOR: config: show HAPROXY_BRANCH in "show env" output
Before this patch HAPROXY_BRANCH was unset just after configuration parsing. Let's keep it, as it could be used in conditional blocks and some configuration directives and it's handy to check its runtime value via "show env". In master-worker mode, this variable is set to the same value for both processes.
This commit is contained in:
parent
d58a8d1f64
commit
7848692c4c
@ -1248,7 +1248,6 @@ static int read_cfg(char *progname)
|
||||
|
||||
}
|
||||
/* remove temporary environment variables. */
|
||||
unsetenv("HAPROXY_BRANCH");
|
||||
unsetenv("HAPROXY_HTTP_LOG_FMT");
|
||||
unsetenv("HAPROXY_HTTP_CLF_LOG_FMT");
|
||||
unsetenv("HAPROXY_HTTPS_LOG_FMT");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user