aboutsummaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorJilles Tjoelker <jilles@FreeBSD.org>2010-03-28 20:19:41 +0000
committerJilles Tjoelker <jilles@FreeBSD.org>2010-03-28 20:19:41 +0000
commita8eb33233c84c2d1e87b65a8327669bf41d729dc (patch)
tree1ba2de63e7ce294a3dbe4c6e250846ee873c9b2a /etc
parentf76db14de93f9fb9dc1e0184ba376860a26824f6 (diff)
Notes
Diffstat (limited to 'etc')
-rw-r--r--etc/rc.subr2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc.subr b/etc/rc.subr
index cfb2942965cc..091ac3fed7e9 100644
--- a/etc/rc.subr
+++ b/etc/rc.subr
@@ -390,7 +390,7 @@ wait_for_pids()
_list=$_nlist
echo -n ${_prefix:-"Waiting for PIDS: "}$_list
_prefix=", "
- sleep 2
+ pwait $_list 2>/dev/null || sleep 2
done
if [ -n "$_prefix" ]; then
echo "."