- (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@
diff --git a/regress/multiplex.sh b/regress/multiplex.sh
index e8cc1ac..63a5c62 100644
--- a/regress/multiplex.sh
+++ b/regress/multiplex.sh
@@ -89,6 +89,6 @@
 # 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