From a3d72b0274639b8795088897045af3203d771212 Mon Sep 17 00:00:00 2001 From: cl1118 <229047552@qq.com> Date: Tue, 23 Mar 2021 19:51:53 +0800 Subject: [PATCH] Update sentinel.c (#8686) --- src/sentinel.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sentinel.c b/src/sentinel.c index 3d57ca7fe..419b224d2 100644 --- a/src/sentinel.c +++ b/src/sentinel.c @@ -2039,12 +2039,12 @@ const char *sentinelHandleConfiguration(char **argv, int argc) { } else if (!strcasecmp(argv[0],"resolve-hostnames") && argc == 2) { /* resolve-hostnames */ if ((sentinel.resolve_hostnames = yesnotoi(argv[1])) == -1) { - return "Please specify yes or not for the resolve-hostnames option."; + return "Please specify yes or no for the resolve-hostnames option."; } } else if (!strcasecmp(argv[0],"announce-hostnames") && argc == 2) { /* announce-hostnames */ if ((sentinel.announce_hostnames = yesnotoi(argv[1])) == -1) { - return "Please specify yes or not for the announce-hostnames option."; + return "Please specify yes or no for the announce-hostnames option."; } } else { return "Unrecognized sentinel configuration statement.";