Date: Tue, 19 Jun 2012 15:41:31 +0200 From: Grzegorz Blach <magik@roorback.net> To: freebsd-questions@freebsd.org Subject: Re: rm returns 0 although directory didn't exist and wasn't deleted ? Message-ID: <4FE0818B.2080508@roorback.net> In-Reply-To: <4FE08093.1040607@my.gd> References: <4FE08093.1040607@my.gd>
next in thread | previous in thread | raw e-mail | index | archive | help
On 06/19/2012 03:37 PM, Damien Fleuriot wrote: > I've stumbled upon this *so weird* behaviour. > > > > # ls -la /var/tmp/stunnel/ > ls: /var/tmp/stunnel/: No such file or directory > > # rm -Rf > /var/tmp/stunnel/ > > # echo $? > 0 > > > > Anyone knows if that's intended ? > rm without -f return 1 in this case
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4FE0818B.2080508>