1
0
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:
David Steele 2016-07-29 18:19:51 -04:00
parent af5965a6ef
commit 93320b865e
2 changed files with 5 additions and 1 deletions

View File

@ -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>

View File

@ -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
(