From 964c21ba0815c2bce5035febbd6a80360aad8916 Mon Sep 17 00:00:00 2001 From: Cyberboss Date: Sun, 24 Sep 2017 15:15:10 -0400 Subject: [PATCH] tavs --- TGServerService/Program.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/TGServerService/Program.cs b/TGServerService/Program.cs index 127299c259..44c29e9269 100644 --- a/TGServerService/Program.cs +++ b/TGServerService/Program.cs @@ -30,11 +30,11 @@ namespace TGServerService if (excludeRoot != null) for (var I = 0; I < excludeRoot.Count; ++I) excludeRoot[I] = excludeRoot[I].ToLower(); - if (!di.Attributes.HasFlag(FileAttributes.Directory)) - { //this is probably a symlink - Directory.Delete(di.FullName); - return; - } + if (!di.Attributes.HasFlag(FileAttributes.Directory)) + { //this is probably a symlink + Directory.Delete(di.FullName); + return; + } NormalizeAndDelete(di, excludeRoot); if (!ContentsOnly) {