Fix for issue #3108 (restore: missing "task completed" ending message.)
| | |
| | | INFO_INSTALLDS_CANCEL_1606=Cancel the setup |
| | | SEVERE_ERR_CONFIGDS_CANNOT_UPDATE_CRYPTO_MANAGER_1607=An error occurred while \ |
| | | attempting to update the crypto manager in the Directory Server: %s |
| | | |
| | | INFO_TASK_TOOL_TASK_SUCESSFULL_1608=%s task %s has been successfully completed |
| | | INFO_TASK_TOOL_TASK_NOT_SUCESSFULL_1609=%s task %s has not complete \ |
| | | successfully |
| | |
| | | |
| | | } while (!taskEntry.isDone()); |
| | | if (TaskState.isSuccessful(taskEntry.getTaskState())) { |
| | | out.println( |
| | | wrapText(INFO_TASK_TOOL_TASK_SUCESSFULL.get( |
| | | taskEntry.getType(), |
| | | taskEntry.getId()), |
| | | MAX_LINE_WIDTH)); |
| | | |
| | | return 0; |
| | | } else { |
| | | out.println( |
| | | wrapText(INFO_TASK_TOOL_TASK_NOT_SUCESSFULL.get( |
| | | taskEntry.getType(), |
| | | taskEntry.getId()), |
| | | MAX_LINE_WIDTH)); |
| | | return 1; |
| | | } |
| | | } |