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 19, 2023
1 parent 5bc2bc8 commit 5fbbbbc
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 5fbbbbc

Please sign in to comment.