diff options
author | dinoex <dinoex@FreeBSD.org> | 2003-06-08 12:55:42 +0000 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2003-06-08 12:55:42 +0000 |
commit | 0d1857b44886efc4ead54ba908a248267d3e1b8a (patch) | |
tree | 775736b4e636fc6bbb6149f8797dc936a1c60347 /astro | |
parent | c0655a86f0d40e3a9d09cd127a77100135dcbec6 (diff) | |
download | FreeBSD-ports-0d1857b44886efc4ead54ba908a248267d3e1b8a.zip FreeBSD-ports-0d1857b44886efc4ead54ba908a248267d3e1b8a.tar.gz |
- Optimize check for existing process
Submitted by: jeff@walters.name
Diffstat (limited to 'astro')
-rw-r--r-- | astro/setiathome/files/setiathome.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/astro/setiathome/files/setiathome.sh b/astro/setiathome/files/setiathome.sh index 57e39b7..7325cd1 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 |