Marek Habersack <grendel@debian.org> wrote:
>
> if [ -f /path/to/file ]; then
> rm /path/to/file || true
> fi
This is wrong. You shouldn't ignore errors when you know that the
file exists.
--
Debian GNU/Linux 3.0 is out! ( http://www.debian.org/ )
Email: Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt