MINOR: mworker: don't copy -x argument anymore in copy_argv()
authorWilliam Lallemand <wlallemand@haproxy.com>
Tue, 20 Jun 2017 09:20:23 +0000 (11:20 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 20 Jun 2017 12:43:28 +0000 (14:43 +0200)
commit2bf6d6291614537530958282da6a7a66c03bf5fe
tree48b9ab181051330222511cc209746e5671293d6c
parent4fc09693d6f466ddf6b0721b20841d056759755a
MINOR: mworker: don't copy -x argument anymore in copy_argv()

Don't copy the -x argument anymore in copy_argv() since it's already
allocated in mworker_reload().

Make the copy_argv() more consistent when used with multiple arguments
to strip.

It prevents multiple -x on reload, which is not supported.
src/haproxy.c