mirror of
https://github.com/elastic/logstash.git
synced 2025-06-27 17:08:55 -04:00
entrypoint: avoid polluting stdout (#17125)
routes output from setup-related functions to stderr, so that stdout can include only the output of the actual program.
This commit is contained in:
parent
e8e24a0397
commit
91258c3f98
2 changed files with 3 additions and 3 deletions
|
@ -6,7 +6,7 @@ set params='%*'
|
|||
if "%1" == "-V" goto version
|
||||
if "%1" == "--version" goto version
|
||||
|
||||
call "%~dp0setup.bat" || exit /b 1
|
||||
1>&2 (call "%~dp0setup.bat") || exit /b 1
|
||||
if errorlevel 1 (
|
||||
if not defined nopauseonerror (
|
||||
pause
|
||||
|
|
|
@ -186,8 +186,8 @@ setup_vendored_jruby() {
|
|||
}
|
||||
|
||||
setup() {
|
||||
setup_java
|
||||
setup_vendored_jruby
|
||||
>&2 setup_java
|
||||
>&2 setup_vendored_jruby
|
||||
}
|
||||
|
||||
ruby_exec() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue