Skip to content

Commit

Permalink
Improve logging
Browse files Browse the repository at this point in the history
  • Loading branch information
efrecon committed Mar 16, 2024
1 parent 7534a67 commit eefc44d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion runner/runner.sh
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,11 @@ runner_unregister() {
trap - INT TERM EXIT

# Remember or request (again) a runner registration token
verbose "Caught termination signal, unregistering runner"
if [ "${1:-0}" = "1" ]; then
verbose "Caught termination signal/request, unregistering runner"
else
verbose "Caught regular exit signal, unregistering runner"
fi
if [ -n "${RUNNER_PAT:-}" ]; then
if [ -n "${RUNNER_TOKENFILE:-}" ] && [ -f "$RUNNER_TOKENFILE" ]; then
verbose "Reading runner token from $RUNNER_TOKENFILE"
Expand Down

0 comments on commit eefc44d

Please sign in to comment.