commit | 550db6d1880c47f61b3963d90a496df1b8519c93 | [log] [tgz] |
---|---|---|
author | William Lallemand <wlallemand@haproxy.com> | Tue Nov 06 17:37:12 2018 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Tue Nov 06 18:28:33 2018 +0100 |
tree | a425bc980d0b7ebceacd4073f6a3edd049350c0a | |
parent | 6b7cd0a72b8df1052c9abb9ea53a3e566f6f6c6b [diff] [blame] |
MEDIUM: mworker: does not create the CLI proxy when no listener Does not create the CLI proxy if no -S argument was specified. It prevents a warning that says that the MASTER proxy does not have any bind option.
diff --git a/src/cli.c b/src/cli.c index 32eaf46..e20e0c5 100644 --- a/src/cli.c +++ b/src/cli.c
@@ -2105,7 +2105,8 @@ */ void mworker_cli_proxy_stop() { - stop_proxy(mworker_proxy); + if (mworker_proxy) + stop_proxy(mworker_proxy); } /*