From f01c8f1a2649379623a3e02bb04fc3c5f5d65909 Mon Sep 17 00:00:00 2001 From: Daniil Baturin Date: Sat, 4 Apr 2015 19:35:43 +0600 Subject: Supress stdout in FreeBSD sysctl check. --- src/hypervisor_check.ads | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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."; -- cgit v1.2.3