mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-21 22:01:31 +02:00
REORG: mworker: move mworker_create_master_cli in master 'case'
Let's move mworker_create_master_cli() call in 'master' case just above and get rid of redundant global.mode tests.
This commit is contained in:
parent
e4c10a704d
commit
7a2ee10d71
@ -2206,12 +2206,11 @@ static void init(int argc, char **argv)
|
||||
*/
|
||||
global.nbtgroups = 1;
|
||||
global.nbthread = 1;
|
||||
/* master CLI */
|
||||
mworker_create_master_cli();
|
||||
}
|
||||
}
|
||||
|
||||
if (master)
|
||||
mworker_create_master_cli();
|
||||
|
||||
/* destroy unreferenced defaults proxies */
|
||||
proxy_destroy_all_unref_defaults();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user