diff options
Diffstat (limited to 'src/bin/pg_ctl/pg_ctl.c')
-rw-r--r-- | src/bin/pg_ctl/pg_ctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/pg_ctl/pg_ctl.c b/src/bin/pg_ctl/pg_ctl.c index 329cc24dd6e..766ba95be1f 100644 --- a/src/bin/pg_ctl/pg_ctl.c +++ b/src/bin/pg_ctl/pg_ctl.c @@ -1926,7 +1926,7 @@ adjust_data_dir(void) fd = popen(cmd, "r"); if (fd == NULL || fgets(filename, sizeof(filename), fd) == NULL) { - write_stderr(_("%s: cannot find the data directory using %s\n"), progname, my_exec_path); + write_stderr(_("%s: could not determine the data directory using \"%s\"\n"), progname, cmd); exit(1); } pclose(fd); |