app/models/mdm/service.rb in metasploit_data_models-2.0.4 vs app/models/mdm/service.rb in metasploit_data_models-2.0.5
- old
+ new
@@ -253,10 +253,10 @@
# {Mdm::Host::OperatingSystemNormalization#normalize_os Normalizes the host operating system} whenever {#info} has
# changed.
#
# @return [void]
def normalize_host_os
- if info_changed?
+ if info_changed? && host.workspace.present? && !host.workspace.import_fingerprint
host.normalize_os
end
end
Metasploit::Concern.run(self)