소스 검색

Correct condition.

Jordan Russell 1 년 전
부모
커밋
c3038b7ea3
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      Projects/Src/InstFunc.pas

+ 1 - 1
Projects/Src/InstFunc.pas

@@ -207,7 +207,7 @@ begin
     // D: adds a Discretionary ACL ("DACL", i.e. access control via SIDs)
     // P: prevents DACL from being modified by inherited ACLs
     'D:P';
-  if IsUnderWindowsTemp then begin
+  if not IsAdminAndNotDebugging then begin
     CurrentUserSid := GetCurrentUserSid;
     if CurrentUserSid = '' then
       CurrentUserSid := 'OW'; // OW: owner rights