Date: Tue, 5 Mar 2013 19:01:18 +0000 From: Chris Rees <crees@FreeBSD.org> To: Olli Hauer <ohauer@freebsd.org> Cc: svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, "ports-committers@freebsd.org" <ports-committers@freebsd.org> Subject: Re: svn commit: r313372 - in head: devel/pecl-spread net/spread4 net/spread4/files Message-ID: <CADLo839kiLsUtC8-_Uwwu=BDcvvom8VhL2PHmposWGEOmeiQ5w@mail.gmail.com> In-Reply-To: <201303031812.r23IC6D3033581@svn.freebsd.org> References: <201303031812.r23IC6D3033581@svn.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 3 March 2013 18:12, Olli Hauer <ohauer@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADLo839kiLsUtC8-_Uwwu=BDcvvom8VhL2PHmposWGEOmeiQ5w>