aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d
diff options
context:
space:
mode:
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 382687e7..3b147f5b 100755
--- a/rc.d/init.d/functions
+++ b/rc.d/init.d/functions
@@ -117,7 +117,7 @@ daemon() {
[ -z $gotbase ] && base=${1##*/}
# See if it's already running. Look *only* at the pid file.
- pidlist=`pidfileofproc $base`
+ pid=`pidfileofproc $base`
[ -n "${pid:-}" ] && return