aboutsummaryrefslogtreecommitdiffstats
path: root/pinentry-wsl-ps1.sh
diff options
context:
space:
mode:
authorDale Phurrough <dale@hidale.com>2018-11-19 16:03:41 +0100
committerDale Phurrough <dale@hidale.com>2018-11-19 16:03:41 +0100
commitee9cc0df00f95b358ce45b943eb6427deb80f16f (patch)
tree01d99e339564df380846bb8c0f83570b4eaee95d /pinentry-wsl-ps1.sh
parenta037c4f9feeb69cffb9a06c9b928f4159f5527d7 (diff)
downloadpinentry-rofi-ee9cc0df00f95b358ce45b943eb6427deb80f16f.tar.gz
removed extraneous echo/return
Diffstat (limited to 'pinentry-wsl-ps1.sh')
-rw-r--r--pinentry-wsl-ps1.sh4
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"
}