fix: Check BOOTMGR message

This commit is contained in:
Kroese 2024-05-10 16:44:26 +02:00 committed by GitHub
parent 45421e257e
commit c674d53ac7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -48,8 +48,10 @@ ready() {
local bios="Booting from Hard"
last=$(grep "^Booting.*" "$QEMU_PTY" | tail -1)
if [[ "${last,,}" == "${bios,,}"* ]]; then
if ! grep -Fq "BOOTMGR is missing" "$QEMU_PTY"; then
return 0
fi
fi
return 1
fi