redirect sysctl kern.cp_times stderr > /dev/null
[collectd.git] / configure.in
index c3fc8d7..56a5b26 100644 (file)
@@ -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])