]> andersk Git - openssh.git/commitdiff
- (tim) [regress/portnum.sh] Shell portability fix.
authortim <tim>
Sat, 16 Jan 2010 19:37:53 +0000 (19:37 +0000)
committertim <tim>
Sat, 16 Jan 2010 19:37:53 +0000 (19:37 +0000)
ChangeLog
regress/portnum.sh

index e41bf6a97536b4cfab985ca946f41081e2b113a3..dfae0d68716a2345347818fbb4e600a60c507603 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
index 82abbc9f0d622b9d8023f0398ee34a735e10cfd0..1de0680fe1221935f6fff93da6b242e180b2143d 100644 (file)
@@ -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
 }
This page took 0.052419 seconds and 5 git commands to generate.