Uploaded image for project: 'OpenDJ'
  1. OpenDJ
  2. OPENDJ-632

ldapmodify: wrong return code when an invalid port is specified

    Details

    • Type: Bug
    • Status: Done
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 2.6.0, 2.4.0
    • Fix Version/s: 2.6.0
    • Component/s: tools
    • Labels:
      None

      Description

      Running "ldapmodify -p -1" should exit with code 89 for consistency with other argument parsing problems, but instead:

      $ bin/ldapmodify -p -1
      port out of range:-1
      $ echo $?
      255
      

        Attachments

          Activity

            People

            • Assignee:
              cjr Chris Ridd
              Reporter:
              cjr Chris Ridd
              Dev Assignee:
              Chris Ridd
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: