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

dsconfig is throwing a blank line to stderr on success

    Details

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

      Description

      If I issue the following command:-

      /opt/opendj/bin/dsconfig set-plugin-prop --plugin-name 'UID Unique Attribute' --set base-dn:dc=globaldomain --set enabled:true --port 4444 --hostname host.test.com --bindDN 'cn=Directory Manager' --bindPassword password --no-prompt --trustAll

      The command completes successfully, but there is a blank line thrown on stderr.

      If I re-issue the same command the blank line does not appear however if I change the command, say setting enabled to false, then the blank line appears.

      I realise it isn't a major issue, but it confused a script which was looking for returns and saw a return code of 0 (success), but an output to stderr !!

        Attachments

          Activity

            People

            • Assignee:
              n4al Nemanja Lukic
              Reporter:
              ukflyer ukflyer
              Dev Assignee:
              Nemanja Lukic
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: