From: Doug MacEachern Date: Fri, 25 Sep 2009 20:25:47 +0000 (-0700) Subject: redirect sysctl kern.cp_times stderr > /dev/null X-Git-Tag: collectd-4.9.0~74 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=3ed2b5f9523aafaad1be4cbc3f0561750f91878e;p=collectd.git redirect sysctl kern.cp_times stderr > /dev/null --- diff --git a/configure.in b/configure.in index c3fc8d78..56a5b263 100644 --- a/configure.in +++ b/configure.in @@ -265,7 +265,7 @@ AC_CHECK_HEADERS(sys/sysctl.h, [], [], AC_MSG_CHECKING([for sysctl kern.cp_times]) if test -x /sbin/sysctl then - /sbin/sysctl kern.cp_times > /dev/null + /sbin/sysctl kern.cp_times 2>/dev/null if test $? -eq 0 then AC_MSG_RESULT([yes])