Browse Source

fix SimpleIPCServer Global mode under Unix

Alligator-1 1 month ago
parent
commit
2d1dd50858
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/fcl-process/src/unix/simpleipc.inc

+ 1 - 1
packages/fcl-process/src/unix/simpleipc.inc

@@ -155,7 +155,7 @@ constructor TPipeServerComm.Create(AOWner: TSimpleIPCServer);
 begin
   inherited Create(AOWner);
   FFileName:=Owner.ServerID;
-  If Owner.Global then
+  If not Owner.Global then
     FFileName:=FFileName+'-'+IntToStr(fpGetPID);
   if FFileName[1]<>'/' then
     FFileName:=GetTempDir(Owner.SystemGlobal)+FFileName;