- (tim) [regress/portnum.sh] Shell portability fix.
This commit is contained in:
parent
4e21855422
commit
999aaf4182
|
@ -12,6 +12,7 @@
|
|||
- (dtucker) [openbsd-compat/pwcache.c] Shrink ifdef area to prevent unused
|
||||
variable warnings.
|
||||
- (dtucker) [openbsd-compat/openbsd-compat.h] Typo.
|
||||
- (tim) [regress/portnum.sh] Shell portability fix.
|
||||
|
||||
20100115
|
||||
- (dtucker) OpenBSD CVS Sync
|
||||
|
|
|
@ -13,7 +13,9 @@ badport() {
|
|||
goodport() {
|
||||
port=$1
|
||||
verbose "$tid: valid port $port"
|
||||
if ! ${SSH} -F $OBJ/ssh_proxy -p $port somehost true 2>/dev/null ; then
|
||||
if ${SSH} -F $OBJ/ssh_proxy -p $port somehost true 2>/dev/null ; then
|
||||
:
|
||||
else
|
||||
fail "$tid rejected valid port $port"
|
||||
fi
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue