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

jcambon
05.09.2009 ce99899b787aaacd25aeb04dd4b8efee3a037b0c
opends/src/server/org/opends/server/tools/dsconfig/DeleteSubCommandHandler.java
@@ -261,7 +261,13 @@
      if (!forceArgument.isPresent()) {
        Message pufn = path.getManagedObjectDefinition().getUserFriendlyName();
        Message msg = ERR_DSCFG_ERROR_GET_PARENT_MONFE.get(pufn);
        throw new ClientException(LDAPResultCode.NO_SUCH_OBJECT, msg);
        if (app.isInteractive()) {
          app.println();
          app.printVerboseMessage(msg);
          return MenuResult.cancel();
        } else {
          throw new ClientException(LDAPResultCode.NO_SUCH_OBJECT, msg);
        }
      } else {
        return MenuResult.success(0);
      }