summaryrefslogtreecommitdiff
path: root/astro/setiathome
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2003-06-08 12:55:42 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2003-06-08 12:55:42 +0000
commit23dc4b0f620ddbb71ded85fbf67e6045f7bf452e (patch)
tree9e46e1a84d8c3e1a75605e4be707afaef62daf73 /astro/setiathome
parent[MAINTAINER-UPDATE] Update nagios to 1.1 (diff)
- Optimize check for existing process
Submitted by: jeff@walters.name
Notes
Notes: svn path=/head/; revision=82527
Diffstat (limited to 'astro/setiathome')
-rw-r--r--astro/setiathome/files/setiathome.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/astro/setiathome/files/setiathome.sh b/astro/setiathome/files/setiathome.sh
index 57e39b70ff68..7325cd14db13 100644
--- a/astro/setiathome/files/setiathome.sh
+++ b/astro/setiathome/files/setiathome.sh
@@ -93,7 +93,7 @@ start)
exit 72
fi
done
- if ps axo command | egrep ${wrapper_path}; then
+ if ps axo command | egrep ^${program_path}; then
logger -sp ${syslog_facility} -t ${program_file} \
"unable to start: ${program_file} is already running."
exit 72