Fixed a issue where a remote could try to start its own remote.
+
diff --git a/lib/pgBackRest/Config/Config.pm b/lib/pgBackRest/Config/Config.pm
index 382b42bc4..964baa26e 100644
--- a/lib/pgBackRest/Config/Config.pm
+++ b/lib/pgBackRest/Config/Config.pm
@@ -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
(