mirror of https://github.com/milvus-io/milvus.git
Fix sript stop unable to find milvus process (#27958)
pr: #27957 /kind improvement Signed-off-by: yangxuan <xuan.yang@zilliz.com>pull/27979/head
parent
8b453454dd
commit
422a31057b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue