parent
a0cca0ca34
commit
651129d49b
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ SERVER_PID=$!
|
||||||
sleep 5
|
sleep 5
|
||||||
|
|
||||||
# Check if the server is running
|
# Check if the server is running
|
||||||
if ! ps -p $SERVER_PID > /dev/null; then
|
if [ ! -d "/proc/$SERVER_PID" ]; then
|
||||||
echo "HTTP server failed to start."
|
echo "HTTP server failed to start."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue