diff --git a/bin/test_static_page.sh b/bin/test_static_page.sh index d651c1d..e9571f6 100755 --- a/bin/test_static_page.sh +++ b/bin/test_static_page.sh @@ -8,7 +8,7 @@ SERVER_PID=$! sleep 5 # 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." exit 1 fi