aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2002-02-07 04:10:49 +0000
committerBill Nottingham <notting@redhat.com>2002-02-07 04:10:49 +0000
commitbcc606522f8a2892ed78d524bef0e7e34a83b6b9 (patch)
tree0509257806eb80891d5322cb7d709b00ea2ecd26 /rc.d
parentb9c251beba5b0c7afe64f89caaecaab36b40d573 (diff)
downloadinitscripts-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-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 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