For #13863, make multiple pids into a single line in shutdown.sh (#13864)

This commit is contained in:
Alioth Null 2025-09-29 01:46:16 +00:00 committed by GitHub
parent 17338d5aeb
commit fcf61998d6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@
cd `dirname $0`/../target
target_dir=`pwd`
pid=`pgrep -f nacos.nacos`
pid=`pgrep -f nacos.nacos | xargs`
if [ -z "$pid" ] ; then
echo "No nacosServer running."
exit -1;