- (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@
This commit is contained in:
Darren Tucker 2005-04-25 14:48:22 +10:00
parent 2f0b5c4869
commit faefd2e73d
2 changed files with 7 additions and 2 deletions

View File

@ -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 $

View File

@ -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