fix: Set returnvalue for waitForPort (#1231)

This commit is contained in:
Kroese
2026-07-07 12:13:13 +02:00
committed by GitHub
parent 827d6d9e10
commit 8963228b1c
+4
View File
@@ -62,6 +62,8 @@ startHostBinary() {
./host.bin "${HOST_ARGS[@]}" >/dev/null &
echo "$!" > "$HOST_PID"
fi
return 0
}
waitForPort() {
@@ -75,6 +77,8 @@ waitForPort() {
cnt=$((cnt + 1))
(( cnt > 50 )) && error "Failed to connect to qemu-host.." && exit "$exit_code"
done
return 0
}
configureSerialPorts() {