Hi,
Using logstash on a RHEL 6.4 host, In the logstash.sh script do_stop() function, there's the line:
checkpid $pid && sleep $delay &&
but $delay is not defined and we get:
sleep: missing operand
Try `sleep --help' for more information.
You can check the killproc function in /etc/init.d/functions as an example.