From b64df60dcab9aa8d780370a77e387eb66549ce77 Mon Sep 17 00:00:00 2001 From: Benjamin Elder Date: Wed, 16 Jan 2019 00:22:25 -0800 Subject: [PATCH] make build/build-image/rsyncd.sh pass shellcheck --- build/build-image/rsyncd.sh | 2 +- hack/.shellcheck_failures | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/build/build-image/rsyncd.sh b/build/build-image/rsyncd.sh index 21546e59d48..8c00838be10 100755 --- a/build/build-image/rsyncd.sh +++ b/build/build-image/rsyncd.sh @@ -45,7 +45,7 @@ mkdir -p "${CONFDIR}" if [[ -f "${PIDFILE}" ]]; then PID=$(cat "${PIDFILE}") echo "Cleaning up old PID file: ${PIDFILE}" - kill $PID &> /dev/null || true + kill "${PID}" &> /dev/null || true rm "${PIDFILE}" fi diff --git a/hack/.shellcheck_failures b/hack/.shellcheck_failures index c0cd214d0a6..cfe55784d58 100644 --- a/hack/.shellcheck_failures +++ b/hack/.shellcheck_failures @@ -1,4 +1,3 @@ -./build/build-image/rsyncd.sh ./build/common.sh ./build/copy-output.sh ./build/lib/release.sh