Module: nagvis Branch: master Commit: 7185a000c55b74299034d24b0f4a9a72bc25dfdc URL: http://nagvis.git.sourceforge.net/git/gitweb.cgi?p=nagvis/nagvis;a=commit;h=7185a000c55b74299034d24b0f4a9a72bc25dfdc
Author: LaMi <[email protected]> Date: Sat Feb 27 16:24:47 2010 +0100 Code formating --- install.sh | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 31ac0e5..b494c86 100755 --- a/install.sh +++ b/install.sh @@ -361,13 +361,13 @@ log() { detect_nagios_path() { IFS=$'\n' for N_PROC in `ps ax -o pid,ppid,user,command | grep nagios | grep -v grep`; do - IFS=" " + IFS=" " # 2138 1 nagios /d/nagvis-dev/nagios/bin/nagios -d /d/nagvis-dev/nagios/etc/nagios.cfg N_PID=`expr "$N_PROC" : ' *\([0-9]*\)'` N_PPID=`expr "$N_PROC" : ' *[0-9]* *\([0-9]*\)'` N_USR=`expr "$N_PROC" : ' *[0-9]* *[0-9]* *\([^ ]*\)'` N_CMD=`expr "$N_PROC" : ' *[0-9]* *[0-9]* *[^ ]* *\(.*\)'` - + echo "$N_CMD" | grep -i " -d" >/dev/null if [[ $? -eq 0 && $N_PPID -eq 1 ]]; then N_BIN=${N_CMD%% *} ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagvis-checkins mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nagvis-checkins
