mirror of
https://github.com/dockur/windows.git
synced 2025-10-29 12:15:50 +00:00
fix: Timeout detection
This commit is contained in:
parent
535b77c918
commit
4021b30b16
1 changed files with 1 additions and 1 deletions
|
|
@ -28,7 +28,7 @@ boot() {
|
||||||
[ -f "$QEMU_END" ] && return 0
|
[ -f "$QEMU_END" ] && return 0
|
||||||
|
|
||||||
if [ -s "$QEMU_PTY" ]; then
|
if [ -s "$QEMU_PTY" ]; then
|
||||||
if grep -iq " hard" "$QEMU_PTY"; then
|
if [ "$(stat -c%s "$QEMU_PTY")" -gt 7 ]; then
|
||||||
info "Windows started succesfully, visit http://localhost:8006/ to view the screen..."
|
info "Windows started succesfully, visit http://localhost:8006/ to view the screen..."
|
||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue