Skip to content

Commit fd6daeb

Browse files
committed
gui-init: fix sh: argument expected
1 parent 04b91ef commit fd6daeb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

initrd/bin/gui-init

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -623,7 +623,7 @@ check_gpg_key
623623
update_totp
624624
update_hotp
625625

626-
if [[ "$HOTP" = "Success" && $CONFIG_AUTO_BOOT_TIMEOUT ]]; then
626+
if [ "$HOTP" = "Success" -a -n $CONFIG_AUTO_BOOT_TIMEOUT ]; then
627627
prompt_auto_default_boot
628628
fi
629629

0 commit comments

Comments
 (0)