Merge pull request #9532 from nickcanz/master

service.bat file should explicitly use the Windows find command.
This commit is contained in:
Tanguy Leroux 2015-04-02 15:34:44 +02:00
commit 877b8fa27a
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ if not exist "%JAVA_HOME%\bin\java.exe" (
echo JAVA_HOME points to an invalid Java installation (no java.exe found in "%JAVA_HOME%"^). Exiting...
goto:eof
)
"%JAVA_HOME%\bin\java" -version 2>&1 | find "64-Bit" >nul:
"%JAVA_HOME%\bin\java" -version 2>&1 | "%windir%\System32\find" "64-Bit" >nul:
if errorlevel 1 goto x86
set EXECUTABLE=%ES_HOME%\bin\elasticsearch-service-x64.exe