mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-01-18 04:58:51 +02:00
Fixed a issue where a remote could try to start its own remote.
This commit is contained in:
parent
af5965a6ef
commit
93320b865e
@ -135,6 +135,10 @@
|
||||
<release-item>
|
||||
<p>Fixed an invalid log call in lock routines.</p>
|
||||
</release-item>
|
||||
|
||||
<release-item>
|
||||
<p>Fixed a issue where a remote could try to start its own remote.</p>
|
||||
</release-item>
|
||||
</release-bug-list>
|
||||
|
||||
<release-feature-list>
|
||||
|
@ -2487,7 +2487,7 @@ sub protocolGet
|
||||
my $iProcessIdx = shift;
|
||||
|
||||
# If force local or remote = NONE then create a local remote and return it
|
||||
if ((defined($bForceLocal) && $bForceLocal) || optionRemoteTypeTest(NONE))
|
||||
if ((defined($bForceLocal) && $bForceLocal) || optionRemoteTypeTest(NONE) || commandTest(CMD_REMOTE))
|
||||
{
|
||||
return new pgBackRest::Protocol::Common
|
||||
(
|
||||
|
Loading…
Reference in New Issue
Block a user