mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-26 08:36:30 +00:00
Transfer hint in error message to its own log notice
This commit is contained in:
3
repmgr.c
3
repmgr.c
@@ -1148,8 +1148,9 @@ do_standby_clone(void)
|
|||||||
|
|
||||||
if (!create_pg_dir(local_data_directory, runtime_options.force))
|
if (!create_pg_dir(local_data_directory, runtime_options.force))
|
||||||
{
|
{
|
||||||
log_err(_("unable to use directory %s ...\nUse --force option to force\n"),
|
log_err(_("unable to use directory %s ...\n"),
|
||||||
local_data_directory);
|
local_data_directory);
|
||||||
|
log_notice(_("HINT: Use -F/--force option to force this directory to be overwritten\n"));
|
||||||
r = ERR_BAD_CONFIG;
|
r = ERR_BAD_CONFIG;
|
||||||
retval = ERR_BAD_CONFIG;
|
retval = ERR_BAD_CONFIG;
|
||||||
goto stop_backup;
|
goto stop_backup;
|
||||||
|
|||||||
Reference in New Issue
Block a user