MEDIUM: mworker: -W is mandatory when using -S
authorWilliam Lallemand <wlallemand@haproxy.com>
Thu, 9 Nov 2023 14:02:13 +0000 (15:02 +0100)
committerWilliam Lallemand <wlallemand@haproxy.com>
Thu, 9 Nov 2023 14:07:15 +0000 (15:07 +0100)
commit3ac3a06963e0b33fa0d1cab511c865432eb9b665
tree51385dc0aaa7ac7bee1995b403fa0bd8813f42de
parent705a72fd1937fb1e9247c19c81a1ce4b98a57b36
MEDIUM: mworker: -W is mandatory when using -S

Defining a master CLI without the master-worker mode emits a warning
since version 1.8. This patch enforce the behavior by forbiding the
usage of the -S option without the master-worker mode.
src/haproxy.c