Delete symbolic links in rmrf.

This commit is contained in:
levlam 2023-01-05 16:46:39 +03:00
parent bc7734a267
commit 651f49fc90

View File

@ -95,7 +95,8 @@ Status rmrf(CSlice path) {
unlink(path).ignore();
break;
case WalkPath::Type::Symlink:
// never follow symbolic links
// never follow symbolic links, but delete the link themselves
unlink(path).ignore();
break;
}
});