]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
MINOR: mworker: Update messages referencing exit-on-failure
authorTim Duesterhus <tim@bastelstu.be>
Tue, 5 Dec 2017 17:14:12 +0000 (18:14 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 7 Dec 2017 18:21:14 +0000 (19:21 +0100)
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

index 8486f0faa1a1b3e976c2701ae38bcd6fd4b5b3f6..baf9e60f749b7da783afdb60fc5a8136287b0a1c 100644 (file)
@@ -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;
                        }