From 2c73850a96f780d353d05e2f26a1013fa5405406 Mon Sep 17 00:00:00 2001 From: xieguigang Date: Sat, 31 Dec 2022 21:14:48 +0800 Subject: [PATCH] Update IPCSocket.vb --- Parallel/IpcParallel/IPCSocket.vb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Parallel/IpcParallel/IPCSocket.vb b/Parallel/IpcParallel/IPCSocket.vb index d9727bc..fd5eba0 100644 --- a/Parallel/IpcParallel/IPCSocket.vb +++ b/Parallel/IpcParallel/IPCSocket.vb @@ -110,7 +110,7 @@ Public Class IPCSocket : Implements ITaskDriver Call Thread.Sleep(randf.NextInteger(1000)) If Environment.OSVersion.Platform = PlatformID.Unix Then -#If netcore5 = 1 Then +#If NETCOREAPP Then If Not "/bin/bash".FileExists Then Return TCPExtensions.GetFirstAvailablePort(-1) End If