aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d
diff options
context:
space:
mode:
authorDonnie Barnes <djb@redhat.com>1997-09-18 16:07:09 +0000
committerDonnie Barnes <djb@redhat.com>1997-09-18 16:07:09 +0000
commit56b8c2d96318b710bb1aae02cf5dc9a1bc7b86b1 (patch)
tree7cb11088a10ef19adb6ba58558c8250b002ec0b7 /rc.d
parentddb2b5837433b9cc8c901abea147471216f3b02d (diff)
downloadinitscripts-56b8c2d96318b710bb1aae02cf5dc9a1bc7b86b1.tar
initscripts-56b8c2d96318b710bb1aae02cf5dc9a1bc7b86b1.tar.gz
initscripts-56b8c2d96318b710bb1aae02cf5dc9a1bc7b86b1.tar.bz2
initscripts-56b8c2d96318b710bb1aae02cf5dc9a1bc7b86b1.tar.xz
initscripts-56b8c2d96318b710bb1aae02cf5dc9a1bc7b86b1.zip
Fixed awk bug in pidofproc
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 1ab13101..7e42deb1 100755
--- a/rc.d/init.d/functions
+++ b/rc.d/init.d/functions
@@ -63,7 +63,7 @@ killproc() {
# TERM first, then KILL if not dead
kill -TERM $pid
usleep 100000
- dead=`ps aux | awk "{print $2}" | grep $pid`
+ dead=`ps aux | awk '{print $2}' | grep $pid`
if [ "$dead" != "" ]; then
sleep 3
kill -KILL $pid