On 3 March 2013 18:12, Olli Hauer <ohauer at freebsd.org> wrote: <snip> > +spread_cleanup() { > + [ -f ${pidfile} ] && rm -f ${pidfile} Isn't checking a file exists rather redundant if you're going to use rm -f on it? Chris