|
@@ -31,7 +31,7 @@ fi
|
|
|
|
|
|
function killProcessListeningOnPort () {
|
|
function killProcessListeningOnPort () {
|
|
local port="${1}"
|
|
local port="${1}"
|
|
- lsof -n -i4TCP:${port} | awk '/LISTEN/ {print $2}' |xargs --no-run-if-empty kill -9
|
|
|
|
|
|
+ lsof -n -i4TCP:${port} | awk '/LISTEN/ {print $2}' |xargs --no-run-if-empty kill -9 || true
|
|
}
|
|
}
|
|
|
|
|
|
function cleanup_servers () {
|
|
function cleanup_servers () {
|