diff options
author | Bill Nottingham <notting@redhat.com> | 2002-02-07 04:10:49 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2002-02-07 04:10:49 +0000 |
commit | bcc606522f8a2892ed78d524bef0e7e34a83b6b9 (patch) | |
tree | 0509257806eb80891d5322cb7d709b00ea2ecd26 /rc.d | |
parent | b9c251beba5b0c7afe64f89caaecaab36b40d573 (diff) | |
download | initscripts-bcc606522f8a2892ed78d524bef0e7e34a83b6b9.tar initscripts-bcc606522f8a2892ed78d524bef0e7e34a83b6b9.tar.gz initscripts-bcc606522f8a2892ed78d524bef0e7e34a83b6b9.tar.bz2 initscripts-bcc606522f8a2892ed78d524bef0e7e34a83b6b9.tar.xz initscripts-bcc606522f8a2892ed78d524bef0e7e34a83b6b9.zip |
fix typo (#58954, <rm0@gmx.net>)
Diffstat (limited to 'rc.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 f71954a9..c888e022 100755 --- a/rc.d/init.d/functions +++ b/rc.d/init.d/functions @@ -251,7 +251,7 @@ pidofproc() { for p in $line ; do [ -z "${p//[0-9]/}" -a -d /proc/$p ] && pid="$pid $p" done - if [ -n "${pid-:}" ] ; then + if [ -n "${pid:-}" ] ; then echo $pid return 0 fi |