forward OBJECT_REMOTE_LOG_FORWARDING env var
[scpubgit/Object-Remote.git] / lib / Object / Remote / FatNode.pm
index 41ad696..819b9a5 100644 (file)
@@ -77,6 +77,11 @@ if (defined($ENV{OBJECT_REMOTE_LOG_SELECTIONS})) {
   my $selections = $ENV{OBJECT_REMOTE_LOG_SELECTIONS};
   $env_pass .= '$ENV{OBJECT_REMOTE_LOG_SELECTIONS} = "' . $selections . "\";\n";
 }
+if (defined($ENV{OBJECT_REMOTE_LOG_FORWARDING})) {
+  my $forwarding = $ENV{OBJECT_REMOTE_LOG_FORWARDING};
+  $env_pass .= '$ENV{OBJECT_REMOTE_LOG_FORWARDING} = "' . $forwarding . "\";\n";
+}
+
 
 
 my $start = stripspace <<'END_START';