[MacPorts] #14928: 'port install BAD' returns 0 error code

MacPorts trac at macosforge.org
Sat Apr 5 04:47:34 PDT 2008


#14928: 'port install BAD' returns 0 error code
---------------------------+------------------------------------------------
 Reporter:  bulk at modp.com  |       Owner:  macports-tickets at lists.macosforge.org
     Type:  defect         |      Status:  new                                  
 Priority:  Normal         |   Milestone:                                       
Component:  ports          |     Version:  1.6.0                                
 Keywords:                 |  
---------------------------+------------------------------------------------
 Hi,

 Is this the correct behavior for macports 1.6.0?  I would have guessed a
 non-0 error code.

 {{{
 $ port install BAD
 Error: Port BAD not found
 $ echo $?
 0
 }}}

 This makes scripting and testing for errors difficult.

 thanks,

 --nickg

-- 
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14928>
MacPorts </projects/macports>
Ports system for Mac OS


More information about the macports-tickets mailing list