aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLucid One <LucidOne@users.noreply.github.com>2018-02-17 14:21:51 -0500
committerTad Fisher <tadfisher@gmail.com>2018-02-17 11:21:51 -0800
commit7f4bb36cca213805b7847e5f21f73ad904b93d88 (patch)
tree41349d0fbe451ba7582fc32fce5fd1fd969bef9d
parentfd083fab36330f54260034b5bbe6ce1d9ee44b51 (diff)
Fixed lint errors (#49)
-rwxr-xr-xotp.bash4
1 files changed, 2 insertions, 2 deletions
diff --git a/otp.bash b/otp.bash
index 7d42f66..f0f4d0d 100755
--- a/otp.bash
+++ b/otp.bash
@@ -379,9 +379,9 @@ cmd_otp_uri() {
fi
done <<< "$contents"
- if [[ clip -eq 1 ]]; then
+ if [[ $clip -eq 1 ]]; then
clip "$otp_uri" "OTP key URI for $path"
- elif [[ qrcode -eq 1 ]]; then
+ elif [[ $qrcode -eq 1 ]]; then
qrcode "$otp_uri" "OTP key URI for $path"
else
echo "$otp_uri"