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

Ludovic Poitou
17.32.2015 4b6eae2b88b5a5abc3bc7bcee205ecf033675a0f
opendj-server-legacy/src/main/java/org/opends/server/tools/dsreplication/ReplicationCliMain.java
@@ -365,6 +365,11 @@
    }
    ReplicationCliMain replicationCli = new ReplicationCliMain(out, err);
    ReplicationCliReturnCode result = replicationCli.execute(args, initializeServer);
    if (result.getReturnCode() == 0)
    {
      // Delete the temp log file, in case of success.
      ControlPanelLog.closeAndDeleteLogFile();
    }
    return result.getReturnCode();
  }