mirror of
https://github.com/saltstack/salt-bootstrap.git
synced 2025-04-16 09:40:21 +00:00
Fix wordsplitting error found by shellcheck
SC2231: Quote expansions in this for loop glob to prevent wordsplitting, e.g. "$dir"/*.txt .
This commit is contained in:
parent
99fcb4dc26
commit
bd1d4ad8bd
1 changed files with 1 additions and 1 deletions
|
@ -6440,7 +6440,7 @@ preseed_master() {
|
|||
SEED_DEST="$_PKI_DIR/master/minions"
|
||||
[ -d "$SEED_DEST" ] || (mkdir -p "$SEED_DEST" && chmod 700 "$SEED_DEST") || return 1
|
||||
|
||||
for keyfile in $_TEMP_KEYS_DIR/*; do
|
||||
for keyfile in "$_TEMP_KEYS_DIR"/*; do
|
||||
keyfile=$(basename "${keyfile}")
|
||||
src_keyfile="${_TEMP_KEYS_DIR}/${keyfile}"
|
||||
dst_keyfile="${SEED_DEST}/${keyfile}"
|
||||
|
|
Loading…
Add table
Reference in a new issue