summaryrefslogtreecommitdiffstats
path: root/etc/rc.subr
diff options
context:
space:
mode:
Diffstat (limited to 'etc/rc.subr')
-rw-r--r--etc/rc.subr2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc.subr b/etc/rc.subr
index f0a4b58..398f9f9 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 "."
OpenPOWER on IntegriCloud