diff options
author | Dale Phurrough <dale@hidale.com> | 2018-11-19 16:03:41 +0100 |
---|---|---|
committer | Dale Phurrough <dale@hidale.com> | 2018-11-19 16:03:41 +0100 |
commit | ee9cc0df00f95b358ce45b943eb6427deb80f16f (patch) | |
tree | 01d99e339564df380846bb8c0f83570b4eaee95d | |
parent | a037c4f9feeb69cffb9a06c9b928f4159f5527d7 (diff) | |
download | pinentry-rofi-ee9cc0df00f95b358ce45b943eb6427deb80f16f.tar.gz |
removed extraneous echo/return
-rw-r--r-- | pinentry-wsl-ps1.sh | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/pinentry-wsl-ps1.sh b/pinentry-wsl-ps1.sh index 55ca67c..2f0e447 100644 --- a/pinentry-wsl-ps1.sh +++ b/pinentry-wsl-ps1.sh @@ -285,14 +285,10 @@ setdescription() { local searchfor='ID ([[:xdigit:]]{16})' # hack to search for first gpg key id in description if [[ "$1" =~ $searchfor ]]; then CACHEUSER="${BASH_REMATCH[1]}" - echo "OK" - return fi local searchfor='(([[:xdigit:]][[:xdigit:]]:){15}[[:xdigit:]][[:xdigit:]])' # hack to search for ssh fingerprint in description if [[ "$1" =~ $searchfor ]]; then CACHEUSER="${BASH_REMATCH[1]}" - echo "OK" - return fi echo "OK" } |