[Bug 194764] New: ctladm always return 1

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Nov 2 18:02:45 UTC 2014


            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: freebsd-bugs at FreeBSD.org
          Reporter: mir at miras.org

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);
    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.

More information about the freebsd-bugs mailing list