diff options
Diffstat (limited to 'misc/userscripts/qute-bitwarden')
-rwxr-xr-x | misc/userscripts/qute-bitwarden | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/misc/userscripts/qute-bitwarden b/misc/userscripts/qute-bitwarden index 8f6f928fb..e94ab0a24 100755 --- a/misc/userscripts/qute-bitwarden +++ b/misc/userscripts/qute-bitwarden @@ -153,8 +153,8 @@ def pass_(domain, encoding, auto_lock): stderr=subprocess.PIPE, ) - err = process.stderr.decode(encoding).strip() - if err: + if process.returncode: + err = process.stderr.decode(encoding).strip() msg = 'Bitwarden CLI returned for {:s} - {:s}'.format(domain, err) stderr(msg) return '[]' |