From b30d78f010b12ddad317ca67b698421101c231a4 Mon Sep 17 00:00:00 2001 From: Hayato Kuroda Date: Tue, 13 Feb 2024 12:08:40 +0000 Subject: [PATCH v19 8/9] Fix error message for get_bin_directory --- src/bin/pg_basebackup/pg_createsubscriber.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/bin/pg_basebackup/pg_createsubscriber.c b/src/bin/pg_basebackup/pg_createsubscriber.c index a20cec8312..28ea5835e9 100644 --- a/src/bin/pg_basebackup/pg_createsubscriber.c +++ b/src/bin/pg_basebackup/pg_createsubscriber.c @@ -252,9 +252,7 @@ get_bin_directory(const char *path) if (find_my_exec(path, full_path) < 0) { - pg_log_error("The program \"%s\" is needed by %s but was not found in the\n" - "same directory as \"%s\".\n", - "pg_ctl", progname, full_path); + pg_log_error("invalid binary directory"); pg_log_error_hint("Check your installation."); exit(1); } -- 2.43.0