diff options
author | Bill Nottingham <notting@redhat.com> | 2001-07-09 05:49:47 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2001-07-09 05:49:47 +0000 |
commit | 4601034e6c7c65b5e6c6af47ffd6de0cb33648d1 (patch) | |
tree | a6e254b01ea189730ba417676f6b94ad01025c7c | |
parent | 91562a41c45955073c2f483c4be2e4fdd710e9ce (diff) | |
download | initscripts-4601034e6c7c65b5e6c6af47ffd6de0cb33648d1.tar initscripts-4601034e6c7c65b5e6c6af47ffd6de0cb33648d1.tar.gz initscripts-4601034e6c7c65b5e6c6af47ffd6de0cb33648d1.tar.bz2 initscripts-4601034e6c7c65b5e6c6af47ffd6de0cb33648d1.tar.xz initscripts-4601034e6c7c65b5e6c6af47ffd6de0cb33648d1.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 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 |