fix password_fill using libsecret
This commit is contained in:
parent
922b1e8f10
commit
cc4e8c1aae
@ -284,7 +284,7 @@ secret_backend() {
|
|||||||
local domain="$1"
|
local domain="$1"
|
||||||
while read -r line ; do
|
while read -r line ; do
|
||||||
if [[ "$line" == "attribute.username = "* ]] ; then
|
if [[ "$line" == "attribute.username = "* ]] ; then
|
||||||
files+=("$domain ${line#${BASH_REMATCH[0]}}")
|
files+=("$domain ${line:21}")
|
||||||
fi
|
fi
|
||||||
done < <( secret-tool search --unlock --all domain "$domain" 2>&1 )
|
done < <( secret-tool search --unlock --all domain "$domain" 2>&1 )
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user