Skip to content
Permalink
Browse files
[IOTDB-3219] fix stop-server on windows (#5936)
* fix stop-server on windows

* fix stop-server.bat on cluster-confignode
  • Loading branch information
xiaoyekanren committed May 17, 2022
1 parent c0529f5 commit 7042883fc0334a75ba7a674c967eb5b70f0273ca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
@@ -22,7 +22,7 @@
set current_dir=%~dp0
set superior_dir=%current_dir%\..\

for /f "eol=; tokens=2,2 delims==" %%i in ('findstr /i "rpc_port"
for /f "eol=; tokens=2,2 delims==" %%i in ('findstr /i "^rpc_port"
%superior_dir%\conf\iotdb-confignode.properties') do (
set rpc_port=%%i
)
@@ -22,7 +22,7 @@
set current_dir=%~dp0
set superior_dir=%current_dir%\..\

for /f "eol=; tokens=2,2 delims==" %%i in ('findstr /i "rpc_port"
for /f "eol=; tokens=2,2 delims==" %%i in ('findstr /i "^rpc_port"
%superior_dir%\conf\iotdb-engine.properties') do (
set rpc_port=%%i
)

0 comments on commit 7042883

Please sign in to comment.