diff --git a/bw_add_sshkeys.py b/bw_add_sshkeys.py index 8d10258..b49cd97 100755 --- a/bw_add_sshkeys.py +++ b/bw_add_sshkeys.py @@ -68,7 +68,7 @@ def get_session(session: str) -> str: return session # Check if we're already logged in - proc_logged = subprocess.run(["bw", "login", "--check", "--quiet"], check=True) + proc_logged = subprocess.run(["bw", "login", "--check", "--quiet"], check=False) if proc_logged.returncode: logging.debug("Not logged into Bitwarden")