]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
MINOR: add master-worker in the warning about nbproc
authorWilliam Lallemand <wlallemand@haproxy.com>
Mon, 6 Nov 2017 10:00:02 +0000 (11:00 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 6 Nov 2017 10:08:38 +0000 (11:08 +0100)
src/haproxy.c

index 68b5e427b0d28c6b5b3a08d415907998c71c1e3c..bbd26b82de0f3c69408c3c41b1804cdb9336f642 100644 (file)
@@ -1749,7 +1749,7 @@ static void init(int argc, char **argv)
 
        if ((global.nbproc > 1) && !(global.mode & (MODE_DAEMON | MODE_MWORKER))) {
                if (!(global.mode & (MODE_FOREGROUND | MODE_DEBUG)))
-                       Warning("<nbproc> is only meaningful in daemon mode. Setting limit to 1 process.\n");
+                       Warning("<nbproc> is only meaningful in daemon mode or master-worker mode. Setting limit to 1 process.\n");
                global.nbproc = 1;
        }