OpenSearch/distribution
Martijn Laarman dfecb256cb
Exit batch files explictly using ERRORLEVEL (#29583)
* Exit batch files explictly using ERRORLEVEL

This makes sure the exit code is preserved when calling the batch
files from different contexts other than DOS

Fixes #29582

This also fixes specific error codes being masked by an explict

exit /b 1

causing the useful exitcodes from ExitCodes to be lost.

* fix line breaks for calling cli to match the bash scripts

* indent size of bash files is 2, make sure editorconfig does the same for bat files

* update indenting to match bash files

* update elasticsearch-keystore.bat indenting

* Update elasticsearch-node.bat to exit outside of endlocal
2019-01-25 16:44:33 +01:00
..
archives Update the default for include_type_name to false. (#37285) 2019-01-14 13:08:01 -08:00
bwc Resolve BWC dependencies too when resolving deps (#37412) 2019-01-25 14:14:12 +02:00
docker Ground work to start up the docker image in the build (#37754) 2019-01-24 17:26:42 +02:00
packages Change file descriptor limit to 65535 (#37537) 2019-01-16 17:19:12 -05:00
src Exit batch files explictly using ERRORLEVEL (#29583) 2019-01-25 16:44:33 +01:00
tools Testing conventions now checks for tests in main (#37321) 2019-01-24 17:30:50 +02:00
build.gradle Simplify integ test distribution types (#37618) 2019-01-21 12:37:17 -08:00