mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

lutoff
03.01.2008 a8be62629a05cca6809657e76ae587381da71f76
opends/src/server/org/opends/server/tools/ListBackends.java
@@ -336,6 +336,7 @@
    // backend ID argument was present, then list the base DNs for that backend.
    // If the base DN argument was present, then list the backend for that base
    // DN.  If no arguments were provided, then list all backends and base DNs.
    boolean invalidDn = false;
    if (baseDN.isPresent())
    {
      // Create a map from the base DNs of the backends to the corresponding
@@ -391,6 +392,7 @@
              message = INFO_LISTBACKENDS_NO_BACKEND_FOR_DN.get(
                      dn.toString());
              out.println(message);
              invalidDn = true;
              break;
            }
            else
@@ -505,7 +507,7 @@
    // If we've gotten here, then everything completed successfully.
    return 0;
    return invalidDn ? 1 : 0 ;
  }