Fix check in updateconf for non-running VMs

(cherry picked from commit 2f523660a7)
This commit is contained in:
Ruben S. Montero committed 2018-04-10 12:50:25 +02:00
1 parent d6e290dec2
commit 5806aed256
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) == 0)
{
cluster_id = vm->get_cid();