gui-init: fix sh: argument expected

This commit is contained in:
Thierry Laurion 2023-02-18 15:52:32 -05:00
parent 5bc2bc88e4
commit 5fbbbbc3f7
No known key found for this signature in database
GPG Key ID: E7B4A71658E36A93

View File

@ -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