aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2006-02-02 05:24:26 +0000
committerBill Nottingham <notting@redhat.com>2006-02-02 05:24:26 +0000
commitd8c560f78967225684d98d4b6c45aaa6a413885e (patch)
tree24b2533d48dd55e5cf1ec2fd8829196a5b55921d /rc.d
parent5398270cce84eeb1a2cacdb8f7b275a7c2d4ec05 (diff)
downloadinitscripts-d8c560f78967225684d98d4b6c45aaa6a413885e.tar
initscripts-d8c560f78967225684d98d4b6c45aaa6a413885e.tar.gz
initscripts-d8c560f78967225684d98d4b6c45aaa6a413885e.tar.bz2
initscripts-d8c560f78967225684d98d4b6c45aaa6a413885e.tar.xz
initscripts-d8c560f78967225684d98d4b6c45aaa6a413885e.zip
fix sendmail startup
Diffstat (limited to 'rc.d')
-rwxr-xr-xrc.d/init.d/functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/rc.d/init.d/functions b/rc.d/init.d/functions
index e2dfc5f2..a5a022d8 100755
--- a/rc.d/init.d/functions
+++ b/rc.d/init.d/functions
@@ -161,7 +161,7 @@ daemon() {
[ -z "$gotbase" ] && base=${1##*/}
# See if it's already running. Look *only* at the pid file.
- __pids_var_run "$1" "$pid_file"
+ __pids_var_run "$base" "$pid_file"
[ -n "$pid" -a -z "$force" ] && return