Skip to content

Commit 2b8f252

Browse files
committed
Use quotes in the call invocation (#31249)
Adding quotes around call invocation as paths can contain spaces that otherwise would cause the command to fail
1 parent d72a6bd commit 2b8f252

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

distribution/src/bin/elasticsearch-cli.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ call "%~dp0elasticsearch-env.bat" || exit /b 1
22

33
if defined ES_ADDITIONAL_SOURCES (
44
for %%a in ("%ES_ADDITIONAL_SOURCES:;=","%") do (
5-
call %~dp0%%a
5+
call "%~dp0%%a"
66
)
77
)
88

0 commit comments

Comments
 (0)