diff --git a/etc/rc.subr b/etc/rc.subr index cfb2942965c..091ac3fed7e 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 "."