sebb wrote: > On 17/08/2009, ma...@apache.org <ma...@apache.org> wrote: >> + else >> + if [ $? -eq 0 ]; then > > Might be better to check $FORCE before sleeping?
On reflection, I don't think there is any need for a sleep here at all. There is no PID so force won't be able to do anything anyway. > Surely that should be: > > echo " stop Stop Catalina, waiting up to 5 seconds for > the process to end" With the above change, waiting and force require the use of a PID file. I'll add that to the end of the usage. Mark --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org