Make shellcheck happy again about password_fill

v0.9.0 seems to add SC2317 ("Command appears to be unreachable."):
https://www.shellcheck.net/wiki/SC2317

This adds various false-positives in password_fill, let's just ignore
those...

Also see: https://github.com/koalaman/shellcheck/issues/2613
This commit is contained in:
Florian Bruhin 2022-12-13 08:59:48 +01:00
parent 65440f3f1e
commit 5afc8a6819
1 changed files with 3 additions and 1 deletions

View File

@ -143,6 +143,7 @@ no_entries_found() {
# expected to write the username of that entry to the $username variable and
# the corresponding password to $password
# shellcheck disable=SC2317
reset_backend() {
init() { true ; }
query_entries() { true ; }
@ -198,7 +199,7 @@ choose_entry_zenity() {
}
choose_entry_zenity_radio() {
zenity_helper() {
zenity_helper() { # shellcheck disable=SC2317
awk '{ print $0 ; print $0 }' \
| zenity --list --radiolist \
--title "qutebrowser password fill" \
@ -278,6 +279,7 @@ pass_backend() {
# =======================================================
# backend: secret
# shellcheck disable=SC2317
secret_backend() {
init() {
return