Update power.sh

This commit is contained in:
Kroese 2024-05-10 17:25:05 +02:00 committed by GitHub
parent 3ff7a97ee9
commit b58bfa8416
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -29,10 +29,12 @@ boot() {
if [ -s "$QEMU_PTY" ]; then
if [ "$(stat -c%s "$QEMU_PTY")" -gt 7 ]; then
if ! grep -Fq "BOOTMGR is missing" "$QEMU_PTY"; then
info "Windows started succesfully, visit http://localhost:8006/ to view the screen..."
return 0
fi
fi
fi
error "Timeout while waiting for QEMU to boot the machine!"
return 0