http://defect.opensolaris.org/bz/show_bug.cgi?id=13328
--- Comment #2 from Anurag S. Maskey <Anurag.Maskey at Sun.COM> 2009-12-14 19:02:50 UTC --- (In reply to comment #1) > In list_func(), "ret" is being used to determine whether there is an error or > not. However, this ret is not being used in all cases where a profile name is > provided to be listed, because not having a profile with the given name is not > an error. It is used for NCUs to determine if there are multiple NCUs with > the > same name or not, but not for other objects. "ret" should be reset to > NWAM_SUCCESS after being used for NCUs. Actually, the above solution doesn't quite work. If name doesn't match any object, it does not return an error. The actual solution is to note if at least one object with the given name exists or not. If it exists, then no error is returned. Otherwise, an error should be returned. -- Configure bugmail: http://defect.opensolaris.org/bz/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug.
