Skip to content

Commit

Permalink
Merge pull request #1 from biggestT/patch-1
Browse files Browse the repository at this point in the history
fix: typo in gopass installed check
  • Loading branch information
martinhoefling authored Feb 15, 2020
2 parents d18aa10 + 7718ddb commit eaae0cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kubectl-gopass
Original file line number Diff line number Diff line change
Expand Up @@ -166,9 +166,9 @@ main() {
exit 1
fi

if hash kubectl 2>/dev/null; then
if hash gopass 2>/dev/null; then
GOPASS=gopass
elif hash kubectl.exe 2>/dev/null; then
elif hash gopass.exe 2>/dev/null; then
GOPASS=gopass.exe
else
echo >&2 "gopass is not installed"
Expand Down

0 comments on commit eaae0cf

Please sign in to comment.