Commit 4cfede87a313456fcbce7a185312460b4e1d05b7 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.
---
src/cfgparse.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/cfgparse.c b/src/cfgparse.c
index 8486f0faa..baf9e60f7 100644
--- a/src/cfgparse.c
+++ b/src/cfgparse.c
@@ -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")) {
global.tune.options |= GTUNE_NOEXIT_ONFAILURE;
} 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;
goto out;
}
--
2.15.1