On Mon, Jun 14, 2010 at 11:19:16AM +0200, Philippe Bruhat (BooK) wrote:
Come to think of it, it probably makes sense: -d probably depends on stat
to get the information about the file, and that fails harder when the
file in question doesn't exists.
Yeah, that makes sense to me.
I guess the best would be to put the directory name in the error message
(always interesting information), and keep $! in case it was set by an
harder error.
Agreed.
-Peff