mirror of
https://github.com/dockur/windows.git
synced 2025-10-29 12:15:50 +00:00
fix: Check BOOTMGR message
This commit is contained in:
parent
45421e257e
commit
c674d53ac7
1 changed files with 3 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue