Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
`lpass status` asks the agent to see if we are logged in or not. The code for the logout bit checks the session and if a session has gone stale it want to refresh it. Implement a similar logic as in cmd-status.c where we ask the agent if we have a session, if we do, proceed as always, else, wipe all the session data that we can find. This removes the if-logic in session kill, to delete all config files even if they for whatever reason do not exist. Since we want to kill it, it seems logical to ignore these missing files. Fixes: lastpass#477 Signed-off-by: Wesley Schwengle <wesley@schwengle.net>
- Loading branch information