From d4da00c63be7e9784b8036e5d70ae0154d122e1b Mon Sep 17 00:00:00 2001 From: ek9 Date: Tue, 10 Jan 2017 23:17:48 +0100 Subject: [PATCH] shell lint fix --- bootstrap-salt.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bootstrap-salt.sh b/bootstrap-salt.sh index b37aadf..fd58ef1 100755 --- a/bootstrap-salt.sh +++ b/bootstrap-salt.sh @@ -4247,7 +4247,7 @@ install_alpine_linux_stable() { __PACKAGES="${__PACKAGES} salt-syndic" fi - apk -U add ${__PACKAGES} || return 1 + apk -U add "${__PACKAGES}" || return 1 return 0 } @@ -4363,6 +4363,7 @@ daemons_running_alpine_linux() { [ $fname = "minion" ] && [ "$_INSTALL_MINION" -eq $BS_FALSE ] && continue [ $fname = "master" ] && [ "$_INSTALL_MASTER" -eq $BS_FALSE ] && continue + # shellcheck disable=SC2009 if [ "$(ps wwwaux | grep -v grep | grep salt-$fname)" = "" ]; then echoerror "salt-$fname was not found running" FAILED_DAEMONS=$((FAILED_DAEMONS + 1))