aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorJoey Jiao <quic_jiangenj@quicinc.com>2024-09-02 22:36:59 -0700
committerAleksandr Nogikh <nogikh@google.com>2024-09-03 08:57:39 +0000
commit326f9c5a1caecfad15f94cf6cfbd43860012e56b (patch)
tree0a28b092747cc008bdc40a76502d0b653f362985 /tools
parent476454e5b89573b26d50062b06962946c12689f3 (diff)
tools/syz-env: export https_proxy to docker in case behind proxy
Diffstat (limited to 'tools')
-rwxr-xr-xtools/syz-env1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/syz-env b/tools/syz-env
index 27ec01a9d..30a1f8448 100755
--- a/tools/syz-env
+++ b/tools/syz-env
@@ -26,6 +26,7 @@
COMMAND=""
DOCKERARGS=()
+[ -n $https_proxy ] && DOCKERARGS+=" --env https_proxy=$https_proxy"
for ARG in "$@"; do
while IFS='=' read KEY VAL; do
# If we have a kernel path passed in, we mount it in the container