Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F147248359
D52619.id162415.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
636 B
Referenced Files
None
Subscribers
None
D52619.id162415.diff
View Options
diff --git a/libexec/rc/rc.subr b/libexec/rc/rc.subr
--- a/libexec/rc/rc.subr
+++ b/libexec/rc/rc.subr
@@ -804,7 +804,6 @@
for _j in $_list; do
if kill -0 $_j 2>/dev/null; then
_nlist="${_nlist}${_nlist:+ }$_j"
- [ -n "$_prefix" ] && sleep 1
fi
done
if [ -z "$_nlist" ]; then
@@ -814,6 +813,10 @@
echo -n ${_prefix:-"Waiting for PIDS: "}$_list
_prefix=", "
pwait -o $_list 2>/dev/null
+ # At least one of the processes we were waiting for
+ # has terminated. Give init a chance to collect it
+ # before looping around and checking again.
+ sleep 1
done
if [ -n "$_prefix" ]; then
echo "."
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Mar 10, 10:33 AM (11 h, 46 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29488153
Default Alt Text
D52619.id162415.diff (636 B)
Attached To
Mode
D52619: rc.subr: Move the sleep in wait_for_pids
Attached
Detach File
Event Timeline
Log In to Comment