mirror of
https://git.proxmox.com/git/pve-common
synced 2025-08-14 17:22:24 +00:00
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:
parent
2388d0c214
commit
8fd0d63460
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user