fix: return after showing the contents of the public key file

This commit is contained in:
josegonzalez
2023-04-27 22:54:14 -04:00
committed by GitHub
parent b11d9bc3a0
commit ca04c2dc48

View File

@@ -259,8 +259,10 @@ cmd-git-public-key() {
if [[ -f "$DOKKU_ROOT/.ssh/id_ed25519.pub" ]]; then
cat "$DOKKU_ROOT/.ssh/id_ed25519.pub"
return
elif [[ -f "$DOKKU_ROOT/.ssh/id_rsa.pub" ]]; then
cat "$DOKKU_ROOT/.ssh/id_rsa.pub"
return
fi
fn-git-auth-error