Skip to content

Commit

Permalink
Merge pull request #37 from flatcar/kai/pass-env
Browse files Browse the repository at this point in the history
subprocess: Forward proxy env for postinstall script
  • Loading branch information
pothos authored Jan 24, 2024
2 parents 7b7d6b7 + 2884789 commit 367f1fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/update_engine/subprocess.cc
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ void FreeArgvInError(char** argv) {
// Note: Caller responsible for free()ing the returned value!
// Will return NULL on failure and free any allocated memory.
char** ArgPointer() {
const char* keys[] = {"LD_LIBRARY_PATH", "PATH"};
const char* keys[] = {"LD_LIBRARY_PATH", "PATH", "ALL_PROXY", "HTTP_PROXY", "HTTPS_PROXY"};
char** ret = new char*[arraysize(keys) + 1];
int pointer = 0;
for (size_t i = 0; i < arraysize(keys); i++) {
Expand Down

0 comments on commit 367f1fd

Please sign in to comment.