net/config/ is now shellcheck compliant (#5888)

automerge
This commit is contained in:
Michael Vines 2019-09-12 16:11:13 -07:00 committed by Grimes
parent 8b64de0a3c
commit 92a5979558
2 changed files with 2 additions and 2 deletions

View File

@ -620,7 +620,7 @@ EOM
# Place the generated private key at /solana-scratch/id_ecdsa so it's retrievable by anybody
# who is able to log into this machine
mkdir -p -m 0777 "/solana-scratch"
mkdir -m 0777 /solana-scratch
cat > /solana-scratch/id_ecdsa <<EOK
$(cat "$sshPrivateKey")
EOK

View File

@ -6,7 +6,7 @@ set -ex
[[ -d /home/solana/.ssh ]] || exit 1
if [[ -z $SOLANA_PUBKEYS ]]; then
if [[ ${#SOLANA_PUBKEYS[@]} -eq 0 ]]; then
echo "Warning: source solana-user-authorized_keys.sh first"
fi