]> andersk Git - openssh.git/commitdiff
- (dtucker) [regress/multiplex.sh] Use "kill -0 $pid" to check for the
authordtucker <dtucker>
Mon, 25 Apr 2005 04:48:22 +0000 (04:48 +0000)
committerdtucker <dtucker>
Mon, 25 Apr 2005 04:48:22 +0000 (04:48 +0000)
   existence of a process since it's more portable.  Found by jbasney at
   ncsa.uiuc.edu; ok tim@

ChangeLog
regress/multiplex.sh

index 4cee87a4f14ea80506f338472c57131af792a95a..dd14be864816c9ebf233440f9d8b90a77f69b06f 100644 (file)
--- 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@
index e8cc1ac53190c5b00b2ad5938b417e43b61211b9..63a5c6238875606ae3ac4121d3b7cf1280f2b6cf 100644 (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
This page took 0.032433 seconds and 5 git commands to generate.