On 17/08/2009, Mark Thomas <[email protected]> wrote: > sebb wrote: > > On 17/08/2009, [email protected] <[email protected]> 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.
OK, sounds good. > Mark > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
