From 23dc4b0f620ddbb71ded85fbf67e6045f7bf452e Mon Sep 17 00:00:00 2001 From: Dirk Meyer Date: Sun, 8 Jun 2003 12:55:42 +0000 Subject: [PATCH] - Optimize check for existing process Submitted by: jeff@walters.name --- astro/setiathome/files/setiathome.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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