diff --git a/libsr3shim.c b/libsr3shim.c index b06998a..4f4bee8 100644 --- a/libsr3shim.c +++ b/libsr3shim.c @@ -799,10 +799,6 @@ int unlinkat(int dirfd, const char *path, int flags) if (status == -1) return status; - if (!stat_failed && S_ISDIR(sb.st_mode)) { - sr_shimdebug_msg(1, "unlinkat %s dirfd=%i skipping directory\n", path, dirfd); - return status; - } if (dirfd == AT_FDCWD) return (shimpost(path, status));