mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2024-12-13 23:14:46 +00:00
MINOR: mworker: export HAPROXY_MWORKER=1 when running in mworker mode
Export HAPROXY_MWORKER=1 in an environment variable when running in mworker mode.
This commit is contained in:
parent
620072bc0d
commit
482f9a9a2f
@ -1594,6 +1594,8 @@ static void init(int argc, char **argv)
|
||||
int proc;
|
||||
struct mworker_proc *tmproc;
|
||||
|
||||
setenv("HAPROXY_MWORKER", "1", 1);
|
||||
|
||||
if (getenv("HAPROXY_MWORKER_REEXEC") == NULL) {
|
||||
|
||||
tmproc = calloc(1, sizeof(*tmproc));
|
||||
|
Loading…
Reference in New Issue
Block a user