I wonder, if it is not a dir, and it is not a symlink, what else could it be? I think this is equivalent to say, if it is a file, exit :)