aboutsummaryrefslogtreecommitdiff
path: root/otp.bash
diff options
context:
space:
mode:
Diffstat (limited to 'otp.bash')
-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"