B #2029: fixed bug with updateconf and vnc port (#2036)

(cherry picked from commit 9effa47d26)
This commit is contained in:
juanmont authored and Ruben S. Montero committed 2018-04-26 16:47:02 +02:00
1 parent 242bb7ca54
commit 962acadf44
1 file changed
+1 -1
+1 -1
View File
@@ -2941,7 +2941,7 @@ void VirtualMachineUpdateConf::request_execute(
int rc;
int cluster_id;
if (graphics != 0 && graphics->vector_value("PORT", port) == 0)
if (graphics != 0 && graphics->vector_value("PORT", port) == -1)
{
cluster_id = vm->get_cid();