summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Weiss <hweiss@users.sourceforge.net>2007-01-30 02:22:28 +0000
committerHolger Weiss <hweiss@users.sourceforge.net>2007-01-30 02:22:28 +0000
commit986abfd43d6b2b412c6695c435508eb19db520bb (patch)
tree1f74e8acd164e3ed9295142bd22d76db635199ff
parenta69aa93a2c0305cb2168daba66b219c7de3bebde (diff)
downloadmonitoring-plugins-986abfd43d6b2b412c6695c435508eb19db520bb.tar.gz
grep(1) "-q" isn't portable (e.g., it won't work on Solaris 8), redirect
output to /dev/null instead. git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1595 f882894a-f735-0410-b71e-b25c423dba1c
-rw-r--r--configure.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index f540671a..af8278e6 100644
--- a/configure.in
+++ b/configure.in
@@ -762,7 +762,7 @@ if test -n "$ac_cv_ps_varlist" ; then
762 AC_DEFINE_UNQUOTED(PS_COLS,$ac_cv_ps_cols, 762 AC_DEFINE_UNQUOTED(PS_COLS,$ac_cv_ps_cols,
763 [Number of columns in ps command]) 763 [Number of columns in ps command])
764 EXTRAS="$EXTRAS check_procs check_nagios" 764 EXTRAS="$EXTRAS check_procs check_nagios"
765 if echo "$ac_cv_ps_varlist" | grep -q "procetime"; then 765 if echo "$ac_cv_ps_varlist" | grep "procetime" >/dev/null; then
766 AC_DEFINE(PS_USES_PROCETIME,"yes", 766 AC_DEFINE(PS_USES_PROCETIME,"yes",
767 [Whether the ps utility uses the "procetime" field]) 767 [Whether the ps utility uses the "procetime" field])
768 fi 768 fi