Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix logstash.bat not setting exit code (elastic#12948)
This PR makes the Windows logstash.bat exit with the last %ERRORLEVEL% at the end, so that any error in running Logstash will get propagated back to the command line. Before this change, logstash.bat would always exit with code 0 - success (when doing cmd.exe /C logstash.bat), even if the java.exe process exited with a non-zero code (e.g. due to Logstash throwing an error at runtime).
- Loading branch information