Skip to content

Commit

Permalink
test(Git Hub Actions): fix syntax zombies
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefano Lombardo committed May 22, 2024
1 parent bef0a7c commit 8751a69
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/webserv.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,11 +120,12 @@ jobs:
run: |
zombies=$(ps aux | grep 'Z' | grep -v grep)
if [ -n "$zombies" ]; then
echo "Zombie processes found:"
echo "Zombie processes found:"
echo "$zombies"
exit 1
else
echo "No zombie processes found."
echo "✅ No zombie processes found."
fi
- name: Check for open listening sockets
run: |
listening_sockets=$(lsof -iTCP -sTCP:LISTEN -nP | grep 'webserv')
Expand Down

0 comments on commit 8751a69

Please sign in to comment.