mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-05-31 19:39:04 +00:00
Consistently log strerror output as DETAIL
This commit is contained in:
@@ -351,8 +351,9 @@ create_pg_dir(const char *path, bool force)
|
||||
}
|
||||
break;
|
||||
case DIR_ERROR:
|
||||
log_error(_("could not access directory \"%s\": %s"),
|
||||
path, strerror(errno));
|
||||
log_error(_("could not access directory \"%s\"")
|
||||
, path);
|
||||
log_detail("%s", strerror(errno));
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user