Commit 08dcf2ff authored by Francesc Guasch's avatar Francesc Guasch
Browse files

[#202] don't search domains in inactive VMs

parent b0665bb2
......@@ -1043,6 +1043,7 @@ sub search_domain($self, $name, $import = 0) {
return $vm->search_domain($name);
for my $vm (@{$self->vm}) {
next if !$vm->is_active;
my $domain = $vm->search_domain($name, $import);
next if !$domain;
next if !$domain->_select_domain_db && !$import;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment