Browse Source

gbuild: Avoid printing kvm warning when using docker

pull/188/head
MarcoFalke 4 years ago
parent
commit
fa54ada75c
No known key found for this signature in database
GPG Key ID: CE2B75697E69A548
  1. 2
      bin/gbuild

2
bin/gbuild

@ -197,7 +197,7 @@ OptionParser.new do |opts| @@ -197,7 +197,7 @@ OptionParser.new do |opts|
end
end.parse!
if !ENV["USE_LXC"] and !ENV["USE_VBOX"] and !File.exist?("/dev/kvm")
if !ENV["USE_LXC"] and !ENV["USE_DOCKER"] and !ENV["USE_VBOX"] and !File.exist?("/dev/kvm")
$stderr.puts "\n************* WARNING: kvm not loaded, this will probably not work out\n\n"
end

Loading…
Cancel
Save