diff options
Diffstat (limited to 'src/slskd/Application/SharedFileCache.cs')
| -rw-r--r-- | src/slskd/Application/SharedFileCache.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/slskd/Application/SharedFileCache.cs b/src/slskd/Application/SharedFileCache.cs index 3f050086..4e0d5cd0 100644 --- a/src/slskd/Application/SharedFileCache.cs +++ b/src/slskd/Application/SharedFileCache.cs @@ -137,6 +137,11 @@ namespace slskd .OrderByDescending(share => share.LocalPath.Length) // process subdirectories first. this allows them to be aliased separately from their parent .ToList(); + if (!Shares.Any()) + { + Log.Warning("Aborting shared file scan; no shares configured."); + } + Log.Debug("Enumerating shared directories"); swSnapshot = sw.ElapsedMilliseconds; |
