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

/kind improvement

Signed-off-by: yangxuan <xuan.yang@zilliz.com>
pull/27972/head
XuanYang-cn 2023-10-26 20:44:14 +08:00 committed by GitHub
parent f9c630247d
commit 6ce98cf542
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