aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2022-10-01 14:59:30 -0500
committerJP Dillingham <jp@dillingham.me>2022-10-01 14:59:30 -0500
commit664a3e988a0f0beb2f5a75602ea468d339ac87a6 (patch)
tree559f00451ce481dbbddc7aa477bcd09372a5e834 /src
parenta2da84dffa92a0f680c8594ffc024328b313615e (diff)
downloadslskd-664a3e988a0f0beb2f5a75602ea468d339ac87a6.tar.gz
force a rescan if option is set
Diffstat (limited to 'src')
-rw-r--r--src/slskd/Application.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/slskd/Application.cs b/src/slskd/Application.cs
index da0688dd..2a52f2f5 100644
--- a/src/slskd/Application.cs
+++ b/src/slskd/Application.cs
@@ -375,7 +375,7 @@ namespace slskd
// if this is the first run or the user deleted cached files, a full scan will be performed
if (!OptionsAtStartup.Flags.NoShareScan)
{
- await Shares.InitializeAsync();
+ await Shares.InitializeAsync(forceRescan: OptionsAtStartup.Flags.ForceShareScan);
}
if (OptionsAtStartup.Flags.NoConnect)