mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2026-08-29 04:07:02 +00:00
fix: Set returnvalue for waitForPort (#1231)
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user