We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 00ebdee commit 94d31bcCopy full SHA for 94d31bc
1 file changed
distribution/src/bin/elasticsearch-node.bat
@@ -6,7 +6,9 @@ setlocal enableextensions
6
set ES_MAIN_CLASS=org.elasticsearch.cluster.coordination.NodeToolCli
7
call "%~dp0elasticsearch-cli.bat" ^
8
%%* ^
9
- || exit /b 1
+ || goto exit
10
11
endlocal
12
13
+:exit
14
+exit /b %ERRORLEVEL%
0 commit comments