From: Ruben Kerkhof Date: Fri, 11 Dec 2015 16:03:58 +0000 (+0100) Subject: configure.ac: send output of check to /dev/null X-Git-Tag: collectd-5.6.0~502^2 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=a076f79da5f22c082f7e07b28f5978ce27c673ed;p=collectd.git configure.ac: send output of check to /dev/null The output is quite a long line: kern.cp_times: 10336 0 9848 499639 7613098 18834 0 11963 115 8101970 16444 0 14368 1672 8100398 17584 0 14149 1358 8099791 And we have no use for the result, we just want to know if the sysctl exists. --- diff --git a/configure.ac b/configure.ac index c4483792..8b150dce 100644 --- a/configure.ac +++ b/configure.ac @@ -396,7 +396,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 2>/dev/null + /sbin/sysctl kern.cp_times >/dev/null 2>&1 if test $? -eq 0 then AC_MSG_RESULT([yes])