fix: Improve bootmanager detection

This commit is contained in:
Kroese 2024-05-10 21:27:37 +02:00 committed by GitHub
parent 2bfa81cefc
commit a9531bc381
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -43,7 +43,7 @@ ready() {
[ -f "$STORAGE/windows.boot" ] && return 0
[ ! -s "$QEMU_PTY" ] && return 1
local line="Windows Boot Manager"
local line="\"Windows Boot Manager\""
if grep -Fq "$line" "$QEMU_PTY"; then
return 0
fi