mirror of
https://github.com/ukui/apt.git
synced 2026-06-16 19:16:16 -07:00
0ecceb5bb9
This fixes a regression introduced in
commit 8f858d560e
don't leak FD in AutoProxyDetect command return parsing
which accidentally made the proxy autodetection code also read
the scripts output on stderr, not only on stdout when it switched
the code from popen() to Popen().
Reported-By: Tim Small <tim@seoss.co.uk>
10 lines
217 B
Bash
Executable File
10 lines
217 B
Bash
Executable File
#!/bin/sh
|
|
|
|
if [ $1 = "http://www.debian.org:90/temp/test" ]; then
|
|
echo "http://example.com"
|
|
fi
|
|
if [ $1 = "http://www.debian.org:91/temp/test" ]; then
|
|
echo "This works" >&2
|
|
echo "http://example.com/foo"
|
|
fi
|