From 425c5bafce09e0a133e26bec0b8209b9fdd253d8 Mon Sep 17 00:00:00 2001 From: Hayato Kuroda Date: Tue, 13 Feb 2024 12:08:40 +0000 Subject: [PATCH v20 08/12] 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 a81654ebc8..5ccab80032 100644 --- a/src/bin/pg_basebackup/pg_createsubscriber.c +++ b/src/bin/pg_basebackup/pg_createsubscriber.c @@ -253,9 +253,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