1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2026-05-22 10:15:16 +02:00

Container executions now load the user's environment.

This commit is contained in:
David Steele
2017-02-16 17:18:48 -05:00
parent 2d7d9626bb
commit ac7ff755b3
5 changed files with 21 additions and 7 deletions
+1 -1
View File
@@ -125,7 +125,7 @@ sub execute
$strCommand =~ s/'/'\\''/g;
my $oExec = new pgBackRestTest::Common::ExecuteTest(
"docker exec -u ${strUser} $self->{strContainer} sh -c '${strCommand}'" , $oParam);
"docker exec -u ${strUser} $self->{strContainer} bash -l -c '${strCommand}'" , $oParam);
# Return from function and log return values if any
return logDebugReturn