diff --git a/bin/logstash.bat b/bin/logstash.bat index 123238cf8..28850bb8f 100644 --- a/bin/logstash.bat +++ b/bin/logstash.bat @@ -84,3 +84,4 @@ goto :eof :end endlocal +exit /B %ERRORLEVEL%