Protect what matters – even after you're gone. Make a plan for your digital legacy today.
Forum Discussion
Former Member
4 years ago[CLI2] `whoami` command with `--session` and `--account` errors out and ignores `--session`
Hi there!
I was using something like this to check whether a session was still valid for a specific account:
op whoami --session $SESSION --account $ACCOUNT
if [ $? = 0 ]
then
echo...
Former Member
4 years agoHello Horia,
I've been debugging my scripts for quite a while but it seem to be a bug within the op whoami command. Do you have any update for this?
Currently this bugs means there is no way to determine if a user is already logged over CLI.