Code

redirect sysctl kern.cp_times stderr > /dev/null
authorDoug MacEachern <dougm@hyperic.com>
Fri, 25 Sep 2009 20:25:47 +0000 (13:25 -0700)
committerDoug MacEachern <dougm@hyperic.com>
Fri, 25 Sep 2009 20:25:47 +0000 (13:25 -0700)
configure.in

index c3fc8d783cf41773b6a1c3cbdb56d52ae67bcaa8..56a5b263047b2365a80f640ff2a0debfdd507d78 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])