mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-22 18:50:08 +03:00
Bug #3875: Fix logic
This commit is contained in:
parent
5fc420b5f3
commit
8843188745
@ -2629,8 +2629,8 @@ void VirtualMachine::release_disk_images()
|
||||
continue;
|
||||
}
|
||||
|
||||
img_error = (state == ACTIVE && lcm_state != EPILOG) ||
|
||||
(state != PENDING && state != HOLD);
|
||||
img_error = (state == ACTIVE && lcm_state != EPILOG) &&
|
||||
state != PENDING && state != HOLD;
|
||||
|
||||
if ( disk->vector_value("IMAGE_ID", iid) == 0 )
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user