wait_for_vnc_port: die if port did not get ready

All of our users expected this behavior and did not check for undef

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2017-12-04 11:30:10 +01:00 committed by Wolfgang Bumiller
parent 2388d0c214
commit 8fd0d63460

View File

@ -812,7 +812,7 @@ sub wait_for_vnc_port {
usleep($sleeptime);
}
return undef;
die "Timeout while waiting for port '$port' to get ready!\n";
}
sub next_unused_port {