mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-24 17:09:48 +00:00
Use extract-pid when killing, too
This commit is contained in:
parent
7a9f74de80
commit
fcddec532a
@ -113,13 +113,7 @@
|
||||
<target name="stop-external-cluster" if="integ.pidfile.exists">
|
||||
<local name="integ.pid"/>
|
||||
|
||||
<!-- read contents of the pid file -->
|
||||
<loadfile srcFile="${integ.pidfile}" property="integ.pid">
|
||||
<filterchain>
|
||||
<striplinebreaks/>
|
||||
</filterchain>
|
||||
</loadfile>
|
||||
|
||||
<extract-pid property="integ.pid"/>
|
||||
<echo>Shutting down external cluster PID ${integ.pid}</echo>
|
||||
|
||||
<exec executable="taskkill" failonerror="true" osfamily="winnt">
|
||||
|
Loading…
x
Reference in New Issue
Block a user