Fix static analysis failures

This commit is contained in:
Bob Mottram 2018-03-02 20:28:26 +00:00
parent b654a47059
commit dd2faeb37c
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ function install_monkeysphere {
exit 76295
fi
monkeysphere-host import-key /etc/ssh/ssh_host_rsa_key "ssh://$DEFAULT_DOMAIN_NAME"
SSH_ONION_HOSTNAME=$(cat ${COMPLETION_FILE} | grep 'ssh onion domain' | awk -F ':' '{print $2}')
SSH_ONION_HOSTNAME=$(grep 'ssh onion domain' "${COMPLETION_FILE}" | awk -F ':' '{print $2}')
monkeysphere-host import-key /etc/ssh/ssh_host_rsa_key "ssh://$SSH_ONION_HOSTNAME"
if [ ! "$MY_GPG_PUBLIC_KEY_ID" ]; then