You've already forked pgbackrest
mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-06-18 23:57:33 +02:00
Fixed a issue where a remote could try to start its own remote.
This commit is contained in:
@ -135,6 +135,10 @@
|
|||||||
<release-item>
|
<release-item>
|
||||||
<p>Fixed an invalid log call in lock routines.</p>
|
<p>Fixed an invalid log call in lock routines.</p>
|
||||||
</release-item>
|
</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-bug-list>
|
||||||
|
|
||||||
<release-feature-list>
|
<release-feature-list>
|
||||||
|
@ -2487,7 +2487,7 @@ sub protocolGet
|
|||||||
my $iProcessIdx = shift;
|
my $iProcessIdx = shift;
|
||||||
|
|
||||||
# If force local or remote = NONE then create a local remote and return it
|
# 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
|
return new pgBackRest::Protocol::Common
|
||||||
(
|
(
|
||||||
|
Reference in New Issue
Block a user