Page MenuHomeFreeBSD

make ctladm devlist, islist and portlist return 0 if everything wasok
ClosedPublic

Authored by bapt on Jul 15 2015, 3:57 PM.
Tags
None
Referenced Files
F151351013: D3102.id6977.diff
Tue, Apr 7, 7:49 PM
Unknown Object (File)
Sun, Apr 5, 11:03 AM
Unknown Object (File)
Sat, Apr 4, 10:49 AM
Unknown Object (File)
Fri, Apr 3, 1:40 PM
Unknown Object (File)
Thu, Apr 2, 9:30 AM
Unknown Object (File)
Tue, Mar 31, 10:54 AM
Unknown Object (File)
Sat, Mar 28, 10:24 PM
Unknown Object (File)
Fri, Mar 20, 11:48 PM
Subscribers

Details

Summary

retval is used to test the return of XML_Parse function which is ok if 1 is
returned and retval it directly return the the main function and used as an exit
value

if all the parsing part is done reset retval to 0 so that the command return 0
if everything ok

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

bapt retitled this revision from to make ctladm devlist, islist and portlist return 0 if everything wasok.
bapt updated this object.
bapt edited the test plan for this revision. (Show Details)
bapt added reviewers: mva, trasz.

Removed erronuously added empty new line

bapt edited reviewers, added: mav; removed: mva.Jul 15 2015, 4:12 PM
trasz edited edge metadata.
This revision is now accepted and ready to land.Jul 17 2015, 6:28 PM
This revision was automatically updated to reflect the committed changes.