Gpg : Kill keyboxd before pincheck.
This commit is contained in:
parent
78f053c622
commit
a559793a53
|
@ -2,6 +2,8 @@
|
||||||
text = ''
|
text = ''
|
||||||
# Check smartcard pin.
|
# Check smartcard pin.
|
||||||
function pincheck() {
|
function pincheck() {
|
||||||
|
pkill keyboxd &> /dev/null
|
||||||
|
# pkill gpg-agent &> /dev/null
|
||||||
echo verify | gpg --card-edit --no-tty --command-fd=0
|
echo verify | gpg --card-edit --no-tty --command-fd=0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue