summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 92ba2e3)
raw | patch | inline | side by side (parent: 92ba2e3)
author | Ruben Kerkhof <ruben@tilaa.com> | |
Fri, 11 Dec 2015 16:03:58 +0000 (17:03 +0100) | ||
committer | Ruben Kerkhof <ruben@tilaa.com> | |
Fri, 11 Dec 2015 16:04:57 +0000 (17:04 +0100) |
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.
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.
configure.ac | patch | blob | history |
diff --git a/configure.ac b/configure.ac
index c4483792b016ce3436dd3b58d44394a8c39e4a40..8b150dce01d9ed9410a72a9debb1d7628ddd8b52 100644 (file)
--- a/configure.ac
+++ b/configure.ac
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])