Skip to content

Commit

Permalink
escape quotes
Browse files Browse the repository at this point in the history
Signed-off-by: Stephen Crawford <[email protected]>
  • Loading branch information
stephen-crawford committed Sep 22, 2023
1 parent 0d58f65 commit 142cac0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/install_demo_configuration.bat
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ set "HASH_SCRIPT=%OPENSEARCH_PLUGINS_DIR%\opensearch-security\tools\hash.bat"
echo ADMIN PASSWORD SET TO: !ADMIN_PASSWORD!

REM Run the command and capture its output
for /f %%a in ('"%HASH_SCRIPT%" -p "!ADMIN_PASSWORD!"') do (
for /f %%a in ('^"%HASH_SCRIPT%^" -p ^"!ADMIN_PASSWORD!^"') do (
set "HASHED_ADMIN_PASSWORD=%%a"
)

Expand Down

0 comments on commit 142cac0

Please sign in to comment.