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() wait_for_tailscaled()
{ {
# shellcheck disable=SC2039 # shellcheck disable=SC2039,SC3043
# SC2039: In POSIX sh, 'local' is undefined. # SC3043: In POSIX sh, 'local' is undefined.
local pid exe timer="$TAILSCALE_SHUTDOWN_TIMEOUT" local pid exe timer="$TAILSCALE_SHUTDOWN_TIMEOUT"
pid="$(cat "$PIDFILE" 2>/dev/null)" || return 1 pid="$(cat "$PIDFILE" 2>/dev/null)" || return 1

View File

@@ -33,7 +33,7 @@ if [ -z "${TAILSCALE_HOSTNAME-}" ]; then
TAILSCALE_HOSTNAME=${HOSTNAME}-initramfs TAILSCALE_HOSTNAME=${HOSTNAME}-initramfs
fi fi
# shellcheck disable=SC2039,SC2086 # shellcheck disable=SC2039,SC2086,SC3043
run_tailscale() run_tailscale()
{ {
log_begin_msg "Starting tailscale" log_begin_msg "Starting tailscale"