Lines 109-115
Link Here
|
109 |
if [ -f $pidfile ]; then |
109 |
if [ -f $pidfile ]; then |
110 |
read rc_pid junk < $pidfile |
110 |
read rc_pid junk < $pidfile |
111 |
if [ ! -z "$rc_pid" ]; then |
111 |
if [ ! -z "$rc_pid" ]; then |
112 |
procname=`ps -o ucomm= $rc_pid` |
112 |
procname=`ps -o command= $rc_pid | cut -f1 -d' '` |
113 |
fi |
113 |
fi |
114 |
fi |
114 |
fi |
115 |
if [ -z "$procname" ]; then |
115 |
if [ -z "$procname" ]; then |