Skip to content

Commit

Permalink
Remove reference to old SLEEPING_SCRIPTS array
Browse files Browse the repository at this point in the history
  • Loading branch information
TrevorBenson committed Jan 14, 2025
1 parent f752b1c commit 74aa459
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion files/docker/node/addons/healthcheck.sh
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,6 @@ check_process() {
continue
fi

# Check if ENTRYPOINT_PROCESS is in the SLEEPING_SCRIPTS array
if ! pgrep -x "$process_name" > /dev/null && ! pgrep -x "sleep" > /dev/null; then
echo "Error: '$process_name' is not running, and no 'sleep' process found"
return 3 # Return 3 if the process is not running and sleep is not found
Expand Down

0 comments on commit 74aa459

Please sign in to comment.