From 56b8c2d96318b710bb1aae02cf5dc9a1bc7b86b1 Mon Sep 17 00:00:00 2001 From: Donnie Barnes Date: Thu, 18 Sep 1997 16:07:09 +0000 Subject: Fixed awk bug in pidofproc --- rc.d/init.d/functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rc.d') 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 -- cgit v1.2.1