Update stop_server.sh

This commit is contained in:
Chigozirim Igweamaka 2024-05-18 10:18:10 +01:00 committed by GitHub
parent e8674eb729
commit aceaa748c8

View file

@ -1,3 +1,5 @@
#!/usr/bin/env bash
PID=$(sudo lsof -t -i:5000)
if [ -n "$PID" ]; then