rm returns 0 although directory didn't exist and wasn't deleted ?

Robert Bonomi bonomi at mail.r-bonomi.com
Tue Jun 19 20:31:37 UTC 2012


Damien Fleuriot <ml at 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.




More information about the freebsd-questions mailing list