Fix sript stop unable to find milvus process (#27958)

pr: #27957

/kind improvement

Signed-off-by: yangxuan <xuan.yang@zilliz.com>
pull/27979/head
XuanYang-cn 2023-10-27 10:30:13 +08:00 committed by GitHub
parent 8b453454dd
commit 422a31057b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@
# limitations under the License.
echo "Stopping milvus..."
PROCESS=$(ps -e | grep milvus | grep -v grep | grep run-with-subprocess | awk '{print $1}')
PROCESS=$(ps -e | grep milvus | grep -v grep | awk '{print $1}')
if [ -z "$PROCESS" ]; then
echo "No milvus process"
exit 0