From 707c565ea938cb0b71e1f1cd33ffe95822e40393 Mon Sep 17 00:00:00 2001 From: CakeAndBanana Date: Wed, 15 Oct 2025 04:02:27 +0200 Subject: [PATCH] Inverted boolean for syncshells --- .../LightlessSyncServer/Services/SystemInfoService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LightlessSyncServer/LightlessSyncServer/Services/SystemInfoService.cs b/LightlessSyncServer/LightlessSyncServer/Services/SystemInfoService.cs index 4dc39cf..255fdb0 100644 --- a/LightlessSyncServer/LightlessSyncServer/Services/SystemInfoService.cs +++ b/LightlessSyncServer/LightlessSyncServer/Services/SystemInfoService.cs @@ -59,7 +59,7 @@ public sealed class SystemInfoService : BackgroundService var allLightfinderItems = _redis.GetAllAsync(allLightfinderKeys).GetAwaiter().GetResult(); var countLightFinderUsers = allLightfinderItems.Count; - var countLightFinderSyncshells = allLightfinderItems.Count(static l => string.IsNullOrEmpty(l.Value.GID)); + var countLightFinderSyncshells = allLightfinderItems.Count(static l => !string.IsNullOrEmpty(l.Value.GID)); SystemInfoDto = new SystemInfoDto() {