Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Try unlink(), and check exists() after if it fails.
This should handle broken symlinks better than checking exists() first before attempting to unlink(). Fixes Bugzilla #3941, I think.
- Loading branch information