Skip to content

Commit

Permalink
fix(plugins/git): ssh-add confusion fix for cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
dalisoft committed Jun 24, 2024
1 parent db7fc77 commit 0ad4d29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/git.sh
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ cleanup() {
git config --local --unset tag.forceSignAnnotated true
git config --local --unset gpg.format ssh

ssh-add -L | grep -F "${SSH_PRIVATE_KEY-}" | ssh-add -d -
ssh-add -L | grep -F "${SSH_PUBLIC_KEY-}" | ssh-add -d -
rm -rf "${SSH_PUBLIC_KEY_FILE}"

unset SSH_PUBLIC_KEY_FILE
Expand Down

0 comments on commit 0ad4d29

Please sign in to comment.