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,7 +48,9 @@ ready() {
|
||||||
local bios="Booting from Hard"
|
local bios="Booting from Hard"
|
||||||
last=$(grep "^Booting.*" "$QEMU_PTY" | tail -1)
|
last=$(grep "^Booting.*" "$QEMU_PTY" | tail -1)
|
||||||
if [[ "${last,,}" == "${bios,,}"* ]]; then
|
if [[ "${last,,}" == "${bios,,}"* ]]; then
|
||||||
return 0
|
if ! grep -Fq "BOOTMGR is missing" "$QEMU_PTY"; then
|
||||||
|
return 0
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue