From 5806aed256844baa6ab1b2e99ab67cd79ae6c508 Mon Sep 17 00:00:00 2001 From: "Ruben S. Montero" Date: Tue, 10 Apr 2018 12:07:07 +0200 Subject: [PATCH] Fix check in updateconf for non-running VMs (cherry picked from commit 2f523660a788c14de11913112cf11ba31149b1a8) --- src/rm/RequestManagerVirtualMachine.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rm/RequestManagerVirtualMachine.cc b/src/rm/RequestManagerVirtualMachine.cc index 78821554ab..22f9b215ee 100644 --- a/src/rm/RequestManagerVirtualMachine.cc +++ b/src/rm/RequestManagerVirtualMachine.cc @@ -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();