Merge remote-tracking branch 'origin/pr/3392'

This commit is contained in:
Florian Bruhin 2017-12-13 23:05:40 +01:00
commit ac7b56b2b8

View File

@ -283,8 +283,8 @@ secret_backend() {
query_entries() {
local domain="$1"
while read -r line ; do
if [[ "$line" == "attribute.username ="* ]] ; then
files+=("$domain ${line#${BASH_REMATCH[0]}}")
if [[ "$line" == "attribute.username = "* ]] ; then
files+=("$domain ${line:21}")
fi
done < <( secret-tool search --unlock --all domain "$domain" 2>&1 )
}