[MacPorts] #13918: port activate returns 0 exit code even when unsuccessful

MacPorts trac at macosforge.org
Thu May 8 01:32:45 PDT 2008


#13918: port activate returns 0 exit code even when unsuccessful
--------------------------------------+-------------------------------------
  Reporter:  ryandesign at macports.org  |       Owner:  macports-tickets at lists.macosforge.org
      Type:  defect                   |      Status:  new                                  
  Priority:  Normal                   |   Milestone:  MacPorts base bugs                   
 Component:  base                     |     Version:  1.7.0                                
Resolution:                           |    Keywords:                                       
--------------------------------------+-------------------------------------
Comment (by jmr at macports.org):

 This actually seems to apply to all actions. The relevant code is
 [http://trac.macports.org/browser/trunk/base/src/port/port.tcl#L2580
 here]. `process_cmd` always returns 0 regardless of the action's return
 status, unless you've used the -x option. There is however a magic -999
 status code that makes it break immediately.

-- 
Ticket URL: <http://trac.macports.org/ticket/13918#comment:2>
MacPorts </>
Ports system for Mac OS


More information about the macports-tickets mailing list