Skip to content

Commit

Permalink
gui-init: fix sh: argument expected
Browse files Browse the repository at this point in the history
  • Loading branch information
tlaurion committed Feb 18, 2023
1 parent 33fc4de commit 5d30c2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion initrd/bin/gui-init
Original file line number Diff line number Diff line change
Expand Up @@ -623,7 +623,7 @@ check_gpg_key
update_totp
update_hotp

if [[ "$HOTP" = "Success" && $CONFIG_AUTO_BOOT_TIMEOUT ]]; then
if [ "$HOTP" = "Success" -a -n $CONFIG_AUTO_BOOT_TIMEOUT ]; then
prompt_auto_default_boot
fi

Expand Down

0 comments on commit 5d30c2b

Please sign in to comment.