Skip to content

Commit 4091c55

Browse files
committed
Address review feedback
1 parent 9513f7f commit 4091c55

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

libs/cli/src/main/java/org/elasticsearch/cli/Terminal.java

+1
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ public final boolean promptYesNo(String prompt, boolean defaultYes) {
152152
}
153153

154154
public void flush() {
155+
this.getWriter().flush();
155156
this.getErrorWriter().flush();
156157
}
157158

server/src/main/java/org/elasticsearch/bootstrap/Elasticsearch.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ public void checkPermission(Permission perm) {
9393
if (status != ExitCodes.OK) {
9494
final String basePath = System.getProperty("es.logs.base_path");
9595
// It's possible to fail before logging has been configured, in which case there's no point
96-
// suggested that the user look in the log file.
96+
// suggesting that the user look in the log file.
9797
if (basePath != null) {
9898
Terminal.DEFAULT.errorPrintln(
9999
"ERROR: Elasticsearch did not exit normally - check the logs at "

0 commit comments

Comments
 (0)