summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2015-04-07 05:51:46 +0600
committerDaniil Baturin <daniil@baturin.org>2015-04-07 05:51:46 +0600
commit081fedb9b6fec701f22a5a57b43d7e091efbf340 (patch)
tree01bf53297723fb5e2257b926d91fff2c3bb02501
parentcdb22deb6155280ad3f4bd75306b62b6105f44b0 (diff)
downloadhvinfo-081fedb9b6fec701f22a5a57b43d7e091efbf340.tar.gz
hvinfo-081fedb9b6fec701f22a5a57b43d7e091efbf340.zip
Supress output in virtualbox PCI check.
-rw-r--r--src/hypervisor_check.adb2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hypervisor_check.adb b/src/hypervisor_check.adb
index 39a1446..b6c8719 100644
--- a/src/hypervisor_check.adb
+++ b/src/hypervisor_check.adb
@@ -213,7 +213,7 @@ package body Hypervisor_Check is
function VirtualBox_PCI_Present return Boolean is
begin
if Config.FreeBSD then
- if Command_Succeeds ("/sbin/sysctl dev.vgapci | grep vendor=0x80ee") then
+ if Command_Succeeds ("/sbin/sysctl dev.vgapci | grep vendor=0x80ee > /dev/null") then
return True;
else
return False;