Fix gpg pinentry loop

main
trivernis 2 years ago
parent 3cffeb02c2
commit ff14fbf613
Signed by: Trivernis
GPG Key ID: DFFFCC2C7A02DB45

@ -1,2 +1,2 @@
#!/usr/bin/bash #!/usr/bin/bash
until gpg --pinentry-mode loopback $@ || (( count >= 5 )); do echo "Try again!"; done until gpg --pinentry-mode loopback $@ || (( count++ >= 5 )); do echo "Try again!"; done

Loading…
Cancel
Save