Skip to content

Commit

Permalink
Detect missing SSH public key
Browse files Browse the repository at this point in the history
  • Loading branch information
Emmanuel Bertrand committed Oct 6, 2021
1 parent 0d7da8d commit fad8c85
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions install.sh
Expand Up @@ -120,6 +120,10 @@ if [ -z $sshPublicKeyPath ]; then
echo "Missing path to jump box SSH public key. Exiting."
exit 1
fi
if [ ! -f "${sshPublicKeyPath}" ]; then
echo "SSH Public Key not found. Exiting."
exit 1
fi

echo "==========================================================="
echo "== Azure Subscription =="
Expand Down

0 comments on commit fad8c85

Please sign in to comment.