Skip to content

Commit

Permalink
check var
Browse files Browse the repository at this point in the history
  • Loading branch information
clarkb7 committed Dec 3, 2024
1 parent 47900b9 commit c50cd62
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions omnibus/config/software/datadog-agent.rb
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@
if fips_mode?
if windows_target?
msgoroot = ENV['MSGO_ROOT']
if msgoroot.nil? || msgoroot.empty?
raise "MSGO_ROOT not set"
end
if !File.exist?("#{msgoroot}\\bin\\go.exe")
raise "msgo go.exe not found at #{msgoroot}\\bin\\go.exe"
end
Expand Down

0 comments on commit c50cd62

Please sign in to comment.