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

lutoff
30.39.2008 d3a210fa56dc724f3b24ba193099f5dad0855021
Fix for issue #3184 (restore exit status 0 despite failure due to corrupted backup archive)

Add "COMPLETED_WITH_ERRORS" in "isSuccessful" method
1 files modified
1 ■■■■ changed files
opends/src/server/org/opends/server/backends/task/TaskState.java 1 ●●●● patch | view | raw | blame | history
opends/src/server/org/opends/server/backends/task/TaskState.java
@@ -217,6 +217,7 @@
      case WAITING_ON_DEPENDENCY:
      case RUNNING:
      case STOPPED_BY_ERROR:
      case COMPLETED_WITH_ERRORS:
        return false;
      default:
        return true;