summaryrefslogtreecommitdiff
path: root/src/safe.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/safe.c')
-rw-r--r--src/safe.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/safe.c b/src/safe.c
index d4a2a4b..129ccf4 100644
--- a/src/safe.c
+++ b/src/safe.c
@@ -419,15 +419,6 @@ static int traverse_another_path (const char **pathname, int keepfd)
printf (" (failed)\n");
fflush (stdout);
}
- if (errno == ELOOP
- || errno == EMLINK /* FreeBSD 10.1: Too many links */
- || errno == EFTYPE /* NetBSD 6.1: Inappropriate file type or format */
- || errno == ENOTDIR)
- {
- say ("file %.*s is not a directory\n",
- (int) (path - *pathname), *pathname);
- skip_rest_of_patch = true;
- }
goto fail;
}
dir = entry;