Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Jun 2012 15:31:41 -0500 (CDT)
From:      Robert Bonomi <bonomi@mail.r-bonomi.com>
To:        questions@freebsd.org
Subject:   Re: rm returns 0 although directory didn't exist and wasn't deleted ?
Message-ID:  <201206192031.q5JKVfwr021405@mail.r-bonomi.com>
In-Reply-To: <4FE08093.1040607@my.gd>

next in thread | previous in thread | raw e-mail | index | archive | help

Damien Fleuriot <ml@my.gd> 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 ?

yes.





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201206192031.q5JKVfwr021405>