https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194764
Bug ID: 194764
Summary: ctladm always return 1
Product: Base System
Version: 10.0-RELEASE
Hardware: Any
OS: Any
Status: Needs Triage
Severity: Affects Many People
Priority: ---
Component: bin
Assignee: [email protected]
Reporter: [email protected]
When invoking ctladm devlist the command will always have a return value of 1
whether the commands succeed or not.
The part responsible for this:
retval = XML_Parse(parser, lun_str, strlen(lun_str), 1);
XML_ParserFree(parser);
if (retval != 1) {
retval = 1;
goto bailout;
}
Should ctladm not return 0 (zero) in case of success?
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"