commit | faefd2e73d242a1bb482a81a33e3b7434aa72733 | [log] [tgz] |
---|---|---|
author | Darren Tucker <dtucker@zip.com.au> | Mon Apr 25 14:48:22 2005 +1000 |
committer | Darren Tucker <dtucker@zip.com.au> | Mon Apr 25 14:48:22 2005 +1000 |
tree | 333c6df2269b4478276a67525d39cfcd1dc7c1ad | |
parent | 2f0b5c4869bab45bccb8472590bbd3edb44c092a [diff] [blame] |
- (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