Browse Source

Merge #188: gbuild: Avoid printing kvm warning when using docker

fa54ada gbuild: Avoid printing kvm warning when using docker (MarcoFalke)
pull/189/head
Devrandom 4 years ago
parent
commit
8de93ac7e9
No known key found for this signature in database
GPG Key ID: E3AAB28B27F5CF4A
  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