lib/resolvers/windows/system32_resolver.rb in facter-4.0.7.pre vs lib/resolvers/windows/system32_resolver.rb in facter-4.0.8.pre

- old
+ new

@@ -22,10 +22,10 @@ @log.debug 'Unable to find correct value for SystemRoot enviroment variable' return nil end bool_ptr = FFI::MemoryPointer.new(:win32_bool, 1) - if System32FFI::IsWow64Process(System32FFI::GetCurrentProcess(), bool_ptr) == FFI::WIN32_FALSE + if System32FFI::IsWow64Process(System32FFI::GetCurrentProcess(), bool_ptr) == FFI::WIN32FALSE @log.debug 'IsWow64Process failed' return end @fact_list[:system32] = construct_path(bool_ptr, windows_path)