diff options
author | Tim Rice <tim@multitalents.net> | 2010-01-16 11:37:53 -0800 |
---|---|---|
committer | Tim Rice <tim@multitalents.net> | 2010-01-16 11:37:53 -0800 |
commit | 999aaf4182fe7f0b21600299826139520b1b8212 (patch) | |
tree | 9eefa61396ab6cc60122dadab54781057a9ffd31 /regress/portnum.sh | |
parent | 4e218554222592a99991fe6320eae6277f3109a6 (diff) |
- (tim) [regress/portnum.sh] Shell portability fix.
Diffstat (limited to 'regress/portnum.sh')
-rw-r--r-- | regress/portnum.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/regress/portnum.sh b/regress/portnum.sh index 82abbc9f0..1de0680fe 100644 --- a/regress/portnum.sh +++ b/regress/portnum.sh | |||
@@ -13,7 +13,9 @@ badport() { | |||
13 | goodport() { | 13 | goodport() { |
14 | port=$1 | 14 | port=$1 |
15 | verbose "$tid: valid port $port" | 15 | verbose "$tid: valid port $port" |
16 | if ! ${SSH} -F $OBJ/ssh_proxy -p $port somehost true 2>/dev/null ; then | 16 | if ${SSH} -F $OBJ/ssh_proxy -p $port somehost true 2>/dev/null ; then |
17 | : | ||
18 | else | ||
17 | fail "$tid rejected valid port $port" | 19 | fail "$tid rejected valid port $port" |
18 | fi | 20 | fi |
19 | } | 21 | } |