diff --git a/src/host/Host.cc b/src/host/Host.cc index 3a779655b4..fe7afe29b8 100644 --- a/src/host/Host.cc +++ b/src/host/Host.cc @@ -316,7 +316,14 @@ void Host::update_wilds() void Host::enable() { - state = INIT; + if (state == DISABLED && host_share.get_total_cpu() > 0) + { + state = MONITORED; + } + else + { + state = INIT; + } }; /* -------------------------------------------------------------------------- */