From 8b31933e4fd474204e4ff74803f3c2b074faefcf Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Tue, 13 Jul 2021 10:50:38 +0200 Subject: qute-keepass: Add missing exit Closes #6592 (cherry picked from commit cc8e67962bae163eac80fe20e753aa90491bc6da) --- misc/userscripts/qute-keepass | 1 + 1 file changed, 1 insertion(+) diff --git a/misc/userscripts/qute-keepass b/misc/userscripts/qute-keepass index 090d3c713..285377ffc 100755 --- a/misc/userscripts/qute-keepass +++ b/misc/userscripts/qute-keepass @@ -178,6 +178,7 @@ def find_candidates(args, host): kp = pykeepass.PyKeePass(file_path, password=pw, keyfile=kf) except Exception as e: stderr("There was an error opening the DB: {}".format(str(e))) + sys.exit(ExitCodes.DB_OPEN_FAIL) return kp.find_entries(url="{}{}{}".format(".*", host, ".*"), regex=True) -- cgit v1.2.3-54-g00ecf