Platform: adds UID / SID detection

This commit is contained in:
李通洲
2026-02-10 20:25:50 +08:00
committed by 李通洲
parent 5825bce57d
commit a44bde6f94
7 changed files with 39 additions and 6 deletions
+1 -1
View File
@@ -100,7 +100,7 @@ const char* detectBySystemd(FFUsersOptions* options, FFlist* users)
if (options->myselfOnly)
{
ffStrbufAppendUInt(&pathUsers, getuid());
ffStrbufAppendUInt(&pathUsers, instance.state.platform.uid);
detectUserBySystemd(&pathUsers, users);
}
else