summaryrefslogtreecommitdiff
path: root/regress/dynamic-forward.sh
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2003-09-04 15:22:01 +1000
committerDarren Tucker <dtucker@zip.com.au>2003-09-04 15:22:01 +1000
commita241d87e948d9776fc324a28645dd74b16d6c28b (patch)
treedb4260d4687cee98b50f3b77024fe9a8461b17d6 /regress/dynamic-forward.sh
parent53c55f41798a7c386251f6922046b8d1f551a8f9 (diff)
- [regress/dynamic-forward.sh] Some "which" programs output on stderr.
Diffstat (limited to 'regress/dynamic-forward.sh')
-rw-r--r--regress/dynamic-forward.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/dynamic-forward.sh b/regress/dynamic-forward.sh
index d090814c5..afa1f103d 100644
--- a/regress/dynamic-forward.sh
+++ b/regress/dynamic-forward.sh
@@ -6,9 +6,9 @@ tid="dynamic forwarding"
6PORT=4242 6PORT=4242
7FWDPORT=4243 7FWDPORT=4243
8 8
9if [ -x `which nc` ] && nc -h 2>&1 | grep "x proxy address" >/dev/null; then 9if [ -x `which nc 2>&1` ] && nc -h 2>&1 | grep "x proxy address" >/dev/null; then
10 proxycmd="nc -x 127.0.0.1:$FWDPORT -X" 10 proxycmd="nc -x 127.0.0.1:$FWDPORT -X"
11elif [ -x `which connect` ]; then 11elif [ -x `which connect 2>&1` ]; then
12 proxycmd="connect -S 127.0.0.1:$FWDPORT -" 12 proxycmd="connect -S 127.0.0.1:$FWDPORT -"
13else 13else
14 echo "skipped (no suitable ProxyCommand found)" 14 echo "skipped (no suitable ProxyCommand found)"