diff options
author | Daniil Baturin <daniil@baturin.org> | 2015-04-04 19:35:43 +0600 |
---|---|---|
committer | Daniil Baturin <daniil@baturin.org> | 2015-04-04 19:35:43 +0600 |
commit | f01c8f1a2649379623a3e02bb04fc3c5f5d65909 (patch) | |
tree | 91ac758ba00fd032fad999a2c1f6597dec5558ea | |
parent | f1743bd1e8ea014b515dd2d442625fdf6bf3946f (diff) | |
download | hvinfo-f01c8f1a2649379623a3e02bb04fc3c5f5d65909.tar.gz hvinfo-f01c8f1a2649379623a3e02bb04fc3c5f5d65909.zip |
Supress stdout in FreeBSD sysctl check.
-rw-r--r-- | src/hypervisor_check.ads | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hypervisor_check.ads b/src/hypervisor_check.ads index ea08d90..25e137c 100644 --- a/src/hypervisor_check.ads +++ b/src/hypervisor_check.ads @@ -52,7 +52,7 @@ private -- sysctl read commands are available to unprivileged users, but sysctl binary -- may not be in the $PATH, hence the absolute path - FreeBSD_Xen_Present_Command : constant String := "/sbin/sysctl kern.vm_guest | grep xen"; + FreeBSD_Xen_Present_Command : constant String := "/sbin/sysctl kern.vm_guest | grep xen > /dev/null"; -- SMBIOS vendor strings VMWare_DMI_Pattern : constant String := "VMware, Inc."; |