update shellcheck ignores for newer shellcheck

This commit is contained in:
Paul Aurich
2022-01-26 21:13:45 -08:00
parent 797252e021
commit 0a7c2d4e63
2 changed files with 3 additions and 3 deletions

View File

@@ -29,8 +29,8 @@ fi
wait_for_tailscaled()
{
# shellcheck disable=SC2039
# SC2039: In POSIX sh, 'local' is undefined.
# shellcheck disable=SC2039,SC3043
# SC3043: In POSIX sh, 'local' is undefined.
local pid exe timer="$TAILSCALE_SHUTDOWN_TIMEOUT"
pid="$(cat "$PIDFILE" 2>/dev/null)" || return 1