Skip to content

Commit

Permalink
Merge branch 'fix-branding-with-spaces'
Browse files Browse the repository at this point in the history
Add missing quotes in condition check

Fixes #19
  • Loading branch information
szszszsz committed Jan 13, 2021
2 parents b44abf1 + ae04863 commit 03ab149
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hotp_initialize
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ COUNTER=$3
SECRET_B32=$(cat $SECRET | base32)

# You can add a branding as forth argument (used in Heads)
if [ -n $4 ]; then
if [ -n "$4" ]; then
BRANDING="$4"
else
BRANDING="HOTP USB Security Dongle"
Expand Down

0 comments on commit 03ab149

Please sign in to comment.