Comment for potentially bad code

This commit is contained in:
Robert Morrison 2022-06-20 02:55:25 +01:00
parent ce08055d7e
commit 2ddb8aa97e
Signed by: robert
GPG Key ID: 73E012EB3F4EC696

View File

@ -95,6 +95,11 @@ class Program
{
if(File.GetAttributes(subdir).HasFlag(FileAttributes.ReparsePoint))
{
/*
* FIXME: This is only a temporary measure and should not be relied upon
* if possible there should be a depth detection system that allows for
* safe symlink following.
*/
Log.Debug("Directory {subdir} is a ReparsePoint(symlink) and has been ignored",subdir);
continue;
}