You've already forked pgbackrest
							
							
				mirror of
				https://github.com/pgbackrest/pgbackrest.git
				synced 2025-10-30 23:37:45 +02:00 
			
		
		
		
	Container executions now load the user's environment.
This commit is contained in:
		| @@ -971,16 +971,16 @@ sub sectionChildProcess | ||||
|                 $self->{oManifest}->variableSet("host-$$hCacheKey{name}-ip", $oHost->{strIP}, true); | ||||
|                 $$hCacheValue{ip} = $oHost->{strIP}; | ||||
|  | ||||
|                 # Execute cleanup commands | ||||
|                 # Add to the host group | ||||
|                 my $oHostGroup = hostGroupGet(); | ||||
|                 $oHostGroup->hostAdd($oHost); | ||||
|  | ||||
|                 # Execute initialize commands | ||||
|                 foreach my $oExecute ($oChild->nodeList('execute', false)) | ||||
|                 { | ||||
|                     $self->execute($oSection, $$hCacheKey{name}, $oExecute, $iDepth + 1, false); | ||||
|                 } | ||||
|  | ||||
|                 # Add to the host group | ||||
|                 my $oHostGroup = hostGroupGet(); | ||||
|                 $oHostGroup->hostAdd($oHost); | ||||
|  | ||||
|                 $self->cachePush($strCacheType, $hCacheKey, $hCacheValue); | ||||
|             } | ||||
|         } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user