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