I don't believe that this line will work. AFAIK, killall doesn't like full paths.

However I understand your intention, which is to only kill cf-agent processes that are in our installation path (ie, don't touch cf-agents that aren't launched by us). You could acheive this like this:

```
# At the top
CF_PROCESS_RUNNING=`ps -efww | grep -E "${CFE_BIN_DIR}/(cf-execd|cf-agent)" | grep -v grep`
NB_CF_PROCESS_RUNNING=`echo "${CF_PROCESS_RUNNING}" | wc -l`

# Instead of the killall -9 ... command
echo "${CF_PROCESS_RUNNING}" | awk 'BEGIN { OFS=" "} {print $2 }' | xargs kill -9
```