[bug-notifications] [pkgutil 0004000]: pkgutil return an error code when removing a package

Mantis Bug Tracker noreply at opencsw.org
Sat Nov 7 00:43:36 CET 2009


A NOTE has been added to this issue. 
====================================================================== 
http://www.opencsw.org/mantis/view.php?id=4000 
====================================================================== 
Reported By:                yann
Assigned To:                bonivart
====================================================================== 
Project:                    pkgutil
Issue ID:                   4000
Category:                   regular use
Reproducibility:            have not tried
Severity:                   minor
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             2009-11-06 18:11 CET
Last Modified:              2009-11-07 00:43 CET
====================================================================== 
Summary:                    pkgutil return an error code when removing a package
Description: 
I noticed pkgutil always return the 1 error code when removing a package,
because the rem_pkgs function ends with the following line:
   myexit("","",1);

Is this something normal ?

====================================================================== 

---------------------------------------------------------------------- 
 (0006958) bonivart (manager) - 2009-11-07 00:43
 http://www.opencsw.org/mantis/view.php?id=4000#c6958 
---------------------------------------------------------------------- 
No, that's not right. I looked it over and found a couple more places where
it should be 0. Checked in r160. Thanks for spotting it.




More information about the bug-notifications mailing list