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 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
 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])
        if test $? -eq 0
        then
                AC_MSG_RESULT([yes])