Skip to content

Commit

Permalink
Update pr-deploy.sh
Browse files Browse the repository at this point in the history
Signed-off-by: Destiny Saturday  <[email protected]>
  • Loading branch information
ThePrimeJnr authored Aug 3, 2024
1 parent 63c8b7c commit 8f3ec73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pr-deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ cleanup() {
PID=$(jq -r --arg key "$PR_ID" '.[$key] // ""' "${PID_FILE}")

if [ -n "$PID" ]; then
kill -9 "$PID" || true
kill -9 "$PID" 2>/dev/null || true
jq --arg key "$PR_ID" 'del(.[$key])' "${PID_FILE}" > "${PID_FILE}.tmp" && mv "${PID_FILE}.tmp" "${PID_FILE}"
fi

Expand Down

0 comments on commit 8f3ec73

Please sign in to comment.