aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-unshare-wrapper
diff options
context:
space:
mode:
authorMattia Rizzolo <mattia@mapreri.org>2015-06-22 18:44:12 +0000
committerMattia Rizzolo <mattia@mapreri.org>2015-06-22 19:53:26 +0000
commit831310f93c3ee8665868997f7396f2421959e986 (patch)
treefbfb3761cd77afc2ee34b1fc165238d39ece31ec /pbuilder-unshare-wrapper
parentbebc8ac00a04fb57659ebd5df4383a52796dadc1 (diff)
downloadpbuilder-831310f93c3ee8665868997f7396f2421959e986.tar
pbuilder-831310f93c3ee8665868997f7396f2421959e986.tar.gz
pbuilder-unshare-wrapper: unset the http_proxy variable, as that can lead to programs looking for unreachable machines.
Thanks: Thorsten Glaser <tg@mirbsd.de> for the idea Closes: #780587
Diffstat (limited to 'pbuilder-unshare-wrapper')
-rwxr-xr-xpbuilder-unshare-wrapper3
1 files changed, 3 insertions, 0 deletions
diff --git a/pbuilder-unshare-wrapper b/pbuilder-unshare-wrapper
index 366b617..518db44 100755
--- a/pbuilder-unshare-wrapper
+++ b/pbuilder-unshare-wrapper
@@ -18,4 +18,7 @@ else
exit 1
fi
+# having this variable set could cause programs looking for unreachable machines
+unset http_proxy
+
exec "$@"