diff options
author | Darren Tucker <dtucker@zip.com.au> | 2006-09-08 00:03:05 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2006-09-08 00:03:05 +1000 |
commit | 89f59cea1c38ec2dea4e70d61603af8e2668dc94 (patch) | |
tree | a376ffafa37b246977c8bf0a28277346d9699221 /regress/cfgmatch.sh | |
parent | f19bbc38835acdc80b4c84e053afaf86f5dcb414 (diff) |
- (dtucker) [regress/cfgmatch.sh] stop_client is racy, so give us a better
chance of winning.
Diffstat (limited to 'regress/cfgmatch.sh')
-rw-r--r-- | regress/cfgmatch.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/regress/cfgmatch.sh b/regress/cfgmatch.sh index 3a789faab..d987dcb97 100644 --- a/regress/cfgmatch.sh +++ b/regress/cfgmatch.sh | |||
@@ -12,6 +12,7 @@ stop_client() | |||
12 | pid=`cat $pidfile` | 12 | pid=`cat $pidfile` |
13 | if [ ! -z "$pid" ]; then | 13 | if [ ! -z "$pid" ]; then |
14 | kill $pid | 14 | kill $pid |
15 | sleep 1 | ||
15 | fi | 16 | fi |
16 | } | 17 | } |
17 | 18 | ||