fix: fix the script

pull/1885/head
luhaoling 2 years ago
parent 654248dc5a
commit f6fdfee759

@ -486,7 +486,7 @@ openim::util::stop_services_on_ports() {
local pid=$(echo $line | awk '{print $2}')
# Try to stop the service by killing its process.
if kill -10 $pid; then
if kill -15 $pid; then
stopped+=($port)
else
not_stopped+=($port)

Loading…
Cancel
Save