[119697] trunk/base/src/port1.0

cal at macports.org cal at macports.org
Sat May 3 15:50:37 PDT 2014


Revision: 119697
          https://trac.macports.org/changeset/119697
Author:   cal at macports.org
Date:     2014-05-03 15:50:37 -0700 (Sat, 03 May 2014)
Log Message:
-----------
base: port1.0/port{un,}load.tcl: Use exec -ignorestderr

Modified Paths:
--------------
    trunk/base/src/port1.0/portload.tcl
    trunk/base/src/port1.0/portunload.tcl

Modified: trunk/base/src/port1.0/portload.tcl
===================================================================
--- trunk/base/src/port1.0/portload.tcl	2014-05-03 22:49:45 UTC (rev 119696)
+++ trunk/base/src/port1.0/portload.tcl	2014-05-03 22:50:37 UTC (rev 119697)
@@ -58,7 +58,7 @@
         } elseif {![file exists $path]} {
             return -code error [format [msgcat::mc "Launchd plist %s was not found"] $path]
         } else {
-            exec $launchctl_path load -w $path 2>@stderr
+            exec -ignorestderr $launchctl_path load -w $path
         }
     }
     

Modified: trunk/base/src/port1.0/portunload.tcl
===================================================================
--- trunk/base/src/port1.0/portunload.tcl	2014-05-03 22:49:45 UTC (rev 119696)
+++ trunk/base/src/port1.0/portunload.tcl	2014-05-03 22:50:37 UTC (rev 119697)
@@ -58,7 +58,7 @@
         } elseif {![file exists $path]} {
             return -code error [format [msgcat::mc "Launchd plist %s was not found"] $path]
         } else {
-            exec $launchctl_path unload -w $path 2>@stderr
+            exec -ignorestderr $launchctl_path unload -w $path
         }
     }
     
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140503/a77e1538/attachment-0001.html>


More information about the macports-changes mailing list