aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Ton Voon <tonvoon@users.sourceforge.net> 2003-02-12 22:21:55 +0000
committerGravatar Ton Voon <tonvoon@users.sourceforge.net> 2003-02-12 22:21:55 +0000
commit8483b4df8851e4531344f4966f6a63f8d6331fb1 (patch)
tree039dbd28d1d9a4bddb8fb6221ad69bf152efe871
parent2967acc1a17742cc9b1a5dffd866c25195ad7ee6 (diff)
downloadmonitoring-plugins-8483b4df8851e4531344f4966f6a63f8d6331fb1.tar.gz
Inadequate quoting for PS_FORMAT & removal of grep "*** for Tru64
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@320 f882894a-f735-0410-b71e-b25c423dba1c
-rw-r--r--configure.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.in b/configure.in
index d9de3df4..b3864eff 100644
--- a/configure.in
+++ b/configure.in
@@ -501,7 +501,7 @@ then
AC_DEFINE_UNQUOTED(PS_RAW_COMMAND,"$PATH_TO_PS -ao 'stat user ppid args'",[Verbatim command to execute for ps in check_netsaint])
EXTRAS="$EXTRAS check_nagios"
AC_DEFINE_UNQUOTED(PS_COMMAND,"$PATH_TO_PS -ao 'stat uid ppid comm args'")
- AC_DEFINE_UNQUOTED(PS_FORMAT,"%s%*[ +] %d %d %s %n",[Format string for scanning ps output in check_procs])
+ AC_DEFINE_UNQUOTED(PS_FORMAT,[["%s%*[ +] %d %d %s %n"]],[Format string for scanning ps output in check_procs])
AC_DEFINE_UNQUOTED(VSZ_COMMAND,"$PATH_TO_PS -ao 'vsz comm'",[])
AC_DEFINE_UNQUOTED(VSZ_FORMAT,"%d %s",[])
AC_DEFINE_UNQUOTED(RSS_COMMAND,"$PATH_TO_PS -ao 'rss comm'",[])
@@ -728,7 +728,7 @@ AC_PATH_PROG(PATH_TO_NSLOOKUP,nslookup)
if test -n "$ac_cv_path_PATH_TO_NSLOOKUP"
then
AC_MSG_CHECKING("nslookup syntax")
- if [nslookup -sil 127.0.0.1 2>&1 | grep "*** Invalid option: sil" >/dev/null]
+ if [nslookup -sil 127.0.0.1 2>&1 | grep "Invalid option: sil" >/dev/null]
then
AC_MSG_RESULT("$PATH_TO_NSLOOKUP")
AC_DEFINE_UNQUOTED(NSLOOKUP_COMMAND,"$PATH_TO_NSLOOKUP",[path and args for nslookup])