oops, typo

This commit is contained in:
James Tomasino 2019-04-19 17:41:54 -04:00
parent 12d972806b
commit dfb9dac3df
1 changed files with 1 additions and 1 deletions

2
lssh
View File

@ -110,7 +110,7 @@ main () {
password=$(lpass show --password "SSH: ${key}" 2> /dev/null)
# If the "SSH: xxx" pattern failed, try the key directly
if [ -n "$password" ]; then
if [ -z "$password" ]; then
password=$(lpass show --password "${key}" 2> /dev/null)
fi