diff options
Diffstat (limited to 'rc.d/init.d')
-rwxr-xr-x | rc.d/init.d/functions | 2 |
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 |