diff options
author | Bill Nottingham <notting@redhat.com> | 2001-07-09 05:50:12 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2001-07-09 05:50:12 +0000 |
commit | 196a77dbd38d11f22cd9960d943d572da3a5a843 (patch) | |
tree | ab81bb3974b046c4871a11127845c864ca529cab | |
parent | 079d1ac105c27a9ca3ba0ea4fe374b7e900c5588 (diff) | |
download | initscripts-196a77dbd38d11f22cd9960d943d572da3a5a843.tar initscripts-196a77dbd38d11f22cd9960d943d572da3a5a843.tar.gz initscripts-196a77dbd38d11f22cd9960d943d572da3a5a843.tar.bz2 initscripts-196a77dbd38d11f22cd9960d943d572da3a5a843.tar.xz initscripts-196a77dbd38d11f22cd9960d943d572da3a5a843.zip |
it helps if you name the variable the same thing as what you're checking
-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 a4ac7719..ee2704c4 100755 --- a/rc.d/init.d/functions +++ b/rc.d/init.d/functions @@ -116,7 +116,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 |