summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordtucker <dtucker>2005-04-25 04:48:22 +0000
committerdtucker <dtucker>2005-04-25 04:48:22 +0000
commit66dcb6b139c7fef9edef1adc47fc820852416208 (patch)
treef3b1da900bcde2269ba2404cdae074a15eb02ddc
parent67ac0ae34100c3d82661e43b34c7270ea9e6da1b (diff)
downloadopenssh-66dcb6b139c7fef9edef1adc47fc820852416208.tar.gz
- (dtucker) [regress/multiplex.sh] Use "kill -0 $pid" to check for the
existence of a process since it's more portable. Found by jbasney at ncsa.uiuc.edu; ok tim@
-rw-r--r--ChangeLog7
-rw-r--r--regress/multiplex.sh2
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index d2d2f347..547f0f5b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+20050425
+ - (dtucker) [regress/multiplex.sh] Use "kill -0 $pid" to check for the
+ existence of a process since it's more portable. Found by jbasney at
+ ncsa.uiuc.edu; ok tim@
+
20050424
- (dtucker) [INSTALL configure.ac] Make zlib version check test for 1.1.4 or
1.2.1.2 or higher. With tim@, ok djm@
@@ -2452,4 +2457,4 @@
- (djm) Trim deprecated options from INSTALL. Mention UsePAM
- (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
-$Id: ChangeLog,v 1.3747 2005/04/24 07:52:22 dtucker Exp $
+$Id: ChangeLog,v 1.3748 2005/04/25 04:48:22 dtucker Exp $
diff --git a/regress/multiplex.sh b/regress/multiplex.sh
index e8cc1ac5..63a5c623 100644
--- a/regress/multiplex.sh
+++ b/regress/multiplex.sh
@@ -89,6 +89,6 @@ ${SSH} -S $CTL -Oexit otherhost || fail "send exit command failed"
# Wait for master to exit
sleep 2
-ps -p $MASTER_PID >/dev/null && fail "exit command failed"
+kill -0 $MASTER_PID >/dev/null 2>&1 && fail "exit command failed"
cleanup