summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2022-12-13 08:59:48 +0100
committerFlorian Bruhin <me@the-compiler.org>2023-01-17 21:01:32 +0100
commit3c9b5c183b1c5f4fb138b138dfb91806660681e2 (patch)
treea051db7708f8b7edcf793adbcc4e28b5aeab62b2
parent14d6bf3e5f9a06f4336a878989676077700f5508 (diff)
downloadqutebrowser-3c9b5c183b1c5f4fb138b138dfb91806660681e2.tar.gz
qutebrowser-3c9b5c183b1c5f4fb138b138dfb91806660681e2.zip
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 (cherry picked from commit 5afc8a68191160f8d5c74b92874a0032d3c1996e)
-rwxr-xr-xmisc/userscripts/password_fill4
1 files changed, 3 insertions, 1 deletions
diff --git a/misc/userscripts/password_fill b/misc/userscripts/password_fill
index 3ea8fd9f6..b63d36276 100755
--- a/misc/userscripts/password_fill
+++ b/misc/userscripts/password_fill
@@ -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