From cb4cb5bf8a21df1f37054ac354936267539905f5 Mon Sep 17 00:00:00 2001 From: Matt McKinnon Date: Fri, 5 Apr 2019 08:57:47 -0400 Subject: [PATCH] double quote variable to make shellcheck happier --- bootstrap-salt.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bootstrap-salt.sh b/bootstrap-salt.sh index f34b5a3..cc3f475 100755 --- a/bootstrap-salt.sh +++ b/bootstrap-salt.sh @@ -1825,7 +1825,7 @@ __wait_for_apt(){ WAIT_TIMEOUT=900 # Run our passed in apt command - "${@}" 2>$APT_ERR + "${@}" 2>"$APT_ERR" APT_RETURN=$? # Make sure we're not waiting on a lock @@ -1839,7 +1839,7 @@ __wait_for_apt(){ echoerror "Bootstrap script cannot proceed. Aborting." return 1 else - "${@}" 2>$APT_ERR + "${@}" 2>"$APT_ERR" APT_RETURN=$? fi done