[123716] trunk/base/src/port1.0/portreload.tcl
cal at macports.org
cal at macports.org
Wed Aug 13 07:21:58 PDT 2014
Revision: 123716
https://trac.macports.org/changeset/123716
Author: cal at macports.org
Date: 2014-08-13 07:21:58 -0700 (Wed, 13 Aug 2014)
Log Message:
-----------
base: portreload: wait a second before re-starting, see #36054
Modified Paths:
--------------
trunk/base/src/port1.0/portreload.tcl
Modified: trunk/base/src/port1.0/portreload.tcl
===================================================================
--- trunk/base/src/port1.0/portreload.tcl 2014-08-13 12:53:05 UTC (rev 123715)
+++ trunk/base/src/port1.0/portreload.tcl 2014-08-13 14:21:58 UTC (rev 123716)
@@ -59,6 +59,10 @@
} else {
# Basically run port unload; port load.
exec -ignorestderr $launchctl_path unload -w $path
+ # Let's wait a second. #36054 suggests some ports have problems
+ # when they are re-started too quickly, and I hope the second
+ # doesn't hurt too much.
+ after 1000
exec -ignorestderr $launchctl_path load -w $path
}
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140813/9dc2ac90/attachment.html>
More information about the macports-changes
mailing list