aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2002-02-07 04:05:59 +0000
committerBill Nottingham <notting@redhat.com>2002-02-07 04:05:59 +0000
commit377af28647e3fcf6f8fbc968db709107a7e019a7 (patch)
treee3c1fab5d32ccc236a112962d58c6dcd1e9cfaf6
parent0a4651c1dcfdf9da1cb0fbfd8c7cbcfeb79cb864 (diff)
downloadinitscripts-377af28647e3fcf6f8fbc968db709107a7e019a7.tar
initscripts-377af28647e3fcf6f8fbc968db709107a7e019a7.tar.gz
initscripts-377af28647e3fcf6f8fbc968db709107a7e019a7.tar.bz2
initscripts-377af28647e3fcf6f8fbc968db709107a7e019a7.tar.xz
initscripts-377af28647e3fcf6f8fbc968db709107a7e019a7.zip
fix typo (#58954, <rm0@gmx.net>)
-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