Skip to content

Commit

Permalink
Merge pull request tfutils#188 from RobertYoung/fix-keybase-logged-in
Browse files Browse the repository at this point in the history
Fixing exit code keybase_logged_in. Travis fell over for unrelated reasons
  • Loading branch information
Zordrak authored Jun 23, 2020
2 parents 4f1ef20 + d4a9b96 commit 0494129
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libexec/tfenv-install
Original file line number Diff line number Diff line change
Expand Up @@ -161,9 +161,9 @@ download_signature() {

# Verify signature if verification mechanism (keybase, gpg, etc) is present
if [[ -n "${keybase_bin}" && -x "${keybase_bin}" ]]; then
"${keybase_bin}" status | grep -Eq '^Logged in:[[:space:]]*yes';
grep -Eq '^Logged in:[[:space:]]*yes' <("${keybase_bin}" status);
keybase_logged_in="${?}";
"${keybase_bin}" list-following | grep -Fq hashicorp;
grep -Fq hashicorp <("${keybase_bin}" list-following);
keybase_following_hc="${?}";

if [[ "${keybase_logged_in}" -ne 0 || "${keybase_following_hc}" -ne 0 ]]; then
Expand Down

0 comments on commit 0494129

Please sign in to comment.