mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-08-11 09:37:20 +02:00
MINOR: mworker: Update messages referencing exit-on-failure
Commit 4cfede87a3
removed
`exit-on-failure` in favor of `no-exit-on-failure`, but failed
to update references to the former in user facing messages.
This should be backported to haproxy 1.8.
This commit is contained in:
parent
0249219be8
commit
c578d9acfa
@ -742,7 +742,7 @@ int cfg_parse_global(const char *file, int linenum, char **args, int kwm)
|
|||||||
if (!strcmp(args[1], "no-exit-on-failure")) {
|
if (!strcmp(args[1], "no-exit-on-failure")) {
|
||||||
global.tune.options |= GTUNE_NOEXIT_ONFAILURE;
|
global.tune.options |= GTUNE_NOEXIT_ONFAILURE;
|
||||||
} else {
|
} else {
|
||||||
ha_alert("parsing [%s:%d] : '%s' only supports 'exit-on-failure' option.\n", file, linenum, args[0]);
|
ha_alert("parsing [%s:%d] : '%s' only supports 'no-exit-on-failure' option.\n", file, linenum, args[0]);
|
||||||
err_code |= ERR_ALERT | ERR_FATAL;
|
err_code |= ERR_ALERT | ERR_FATAL;
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user