Skip to content

Commit a8be46e

Browse files
committed
Delete secret from keychain before adding it
1 parent 228117b commit a8be46e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lazy-connect.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ function _lazy_connect_init() {
1313
echo "**********"
1414

1515
echo 'Storing secret in keychain...'
16+
security delete-generic-password -a lazy-connect -s lazy-connect &> /dev/null
1617
security add-generic-password -a lazy-connect -p "$secret_key" -s lazy-connect
1718
;;
1819
esac

0 commit comments

Comments
 (0)