diff options
author | dinoex <dinoex@FreeBSD.org> | 2003-06-08 20:55:42 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2003-06-08 20:55:42 +0800 |
commit | 0d1857b44886efc4ead54ba908a248267d3e1b8a (patch) | |
tree | 775736b4e636fc6bbb6149f8797dc936a1c60347 /astro/setiathome | |
parent | c0655a86f0d40e3a9d09cd127a77100135dcbec6 (diff) | |
download | freebsd-ports-graphics-0d1857b44886efc4ead54ba908a248267d3e1b8a.tar.gz freebsd-ports-graphics-0d1857b44886efc4ead54ba908a248267d3e1b8a.tar.zst freebsd-ports-graphics-0d1857b44886efc4ead54ba908a248267d3e1b8a.zip |
- Optimize check for existing process
Submitted by: jeff@walters.name
Diffstat (limited to 'astro/setiathome')
-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 57e39b70ff6..7325cd14db1 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 |